(function({
              __FIRST_RENDER_EXPERIMENTS__,
              __FUNDING_ELIGIBILITY__,
              __MESSAGING_GLOBALS__
          }) {
    /*! For license information please see output.js.LICENSE.txt */
    !
        function(n, e) {
            for (var t in e) n[t] = e[t]
        } (window,
            function(n) {
                var e = {};
                function t(r) {
                    if (e[r]) return e[r].exports;
                    var o = e[r] = {
                        i: r,
                        l: !1,
                        exports: {}
                    };
                    return n[r].call(o.exports, o, o.exports, t),
                        o.l = !0,
                        o.exports
                }
                return t.m = n,
                    t.c = e,
                    t.d = function(n, e, r) {
                        t.o(n, e) || Object.defineProperty(n, e, {
                            enumerable: !0,
                            get: r
                        })
                    },
                    t.r = function(n) {
                        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(n, Symbol.toStringTag, {
                            value: "Module"
                        }),
                            Object.defineProperty(n, "__esModule", {
                                value: !0
                            })
                    },
                    t.t = function(n, e) {
                        if (1 & e && (n = t(n)), 8 & e) return n;
                        if (4 & e && "object" == typeof n && n && n.__esModule) return n;
                        var r = Object.create(null);
                        if (t.r(r), Object.defineProperty(r, "default", {
                            enumerable: !0,
                            value: n
                        }), 2 & e && "string" != typeof n) for (var o in n) t.d(r, o,
                            function(e) {
                                return n[e]
                            }.bind(null, o));
                        return r
                    },
                    t.n = function(n) {
                        var e = n && n.__esModule ?
                            function() {
                                return n.
                                    default
                            }:
                            function() {
                                return n
                            };
                        return t.d(e, "a", e),
                            e
                    },
                    t.o = function(n, e) {
                        return {}.hasOwnProperty.call(n, e)
                    },
                    t.p = "",
                    t(t.s = 16)
            } ([function(n, e, t) {
                "use strict";
                n.exports = function(n) {
                    var e = [];
                    return e.toString = function() {
                        return this.map((function(e) {
                            var t = function(n, e) {
                                var t, r, o = n[1] || "",
                                    i = n[3];
                                if (!i) return o;
                                if (e && "function" == typeof btoa) {
                                    var a = (t = btoa(unescape(encodeURIComponent(JSON.stringify(i)))), r = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t), "/*# ".concat(r, " */")),
                                        u = i.sources.map((function(n) {
                                            return "/*# sourceURL=".concat(i.sourceRoot || "").concat(n, " */")
                                        }));
                                    return [o].concat(u).concat([a]).join("\n")
                                }
                                return [o].join("\n")
                            } (e, n);
                            return e[2] ? "@media ".concat(e[2], " {").concat(t, "}") : t
                        })).join("")
                    },
                        e.i = function(n, t, r) {
                            "string" == typeof n && (n = [[null, n, ""]]);
                            var o = {};
                            if (r) for (var i = 0; i < this.length; i++) {
                                var a = this[i][0];
                                null != a && (o[a] = !0)
                            }
                            for (var u = 0; u < n.length; u++) {
                                var l = [].concat(n[u]);
                                r && o[l[0]] || (t && (l[2] = l[2] ? "".concat(t, " and ").concat(l[2]) : t), e.push(l))
                            }
                        },
                        e
                }
            },
                function(n, e, t) {
                    "use strict";
                    var r = {};
                    function o(n) {
                        n.forEach((function(n) {
                            if (--r[n] <= 0) {
                                var e = document.getElementById(n);
                                e && e.parentNode.removeChild(e)
                            }
                        }))
                    }
                    n.exports = function(n, e) {
                        for (var t, i = void 0 === e ? {}: e, a = i.replace, u = void 0 !== a && a, l = i.prepend, s = void 0 !== l && l, c = i.prefix, d = void 0 === c ? "s": c, p = [], f = 0; f < n.length; f++) {
                            var h = n[f],
                                g = h[1],
                                m = h[2],
                                y = h[3],
                                v = "" + d + h[0] + "-" + f;
                            if (p.push(v), !r[v] || u) {
                                r[v] = 1;
                                var w = document.getElementById(v),
                                    b = !1;
                                w || (b = !0, (w = document.createElement("style")).setAttribute("type", "text/css"), w.id = v, m && w.setAttribute("media", m));
                                var E = g;
                                y && "function" == typeof btoa && (E += "\n/*# sourceMappingURL=data:application/json;base64," + (t = JSON.stringify(y), btoa(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g, (function(n, e) {
                                    return String.fromCharCode("0x" + e)
                                }))) + "*/"), E += "\n/*# sourceURL=" + y.file + "?" + v + "*/"),
                                    "textContent" in w ? w.textContent = E: w.styleSheet.cssText = E,
                                b && (s ? document.head.insertBefore(w, document.head.childNodes[0]) : document.head.appendChild(w))
                            } else r[v]++
                        }
                        return o.bind(null, p)
                    }
                },
                function(n, e, t) {
                    var r = t(10),
                        o = t(1),
                        i = "string" == typeof r ? [[n.i, r, ""]] : r; (e = n.exports = r.locals || {})._getContent = function() {
                        return i
                    },
                        e._getCss = function() {
                            return "" + r
                        },
                        e._insertCss = function(n) {
                            return o(i, n)
                        }
                },
                function(n, e, t) {
                    var r = t(13),
                        o = t(1),
                        i = "string" == typeof r ? [[n.i, r, ""]] : r; (e = n.exports = r.locals || {})._getContent = function() {
                        return i
                    },
                        e._getCss = function() {
                            return "" + r
                        },
                        e._insertCss = function(n) {
                            return o(i, n)
                        }
                },
                function(n, e, t) {
                    var r = t(14),
                        o = t(1),
                        i = "string" == typeof r ? [[n.i, r, ""]] : r; (e = n.exports = r.locals || {})._getContent = function() {
                        return i
                    },
                        e._getCss = function() {
                            return "" + r
                        },
                        e._insertCss = function(n) {
                            return o(i, n)
                        }
                },
                function(n, e, t) {
                    var r = t(9),
                        o = t(1),
                        i = "string" == typeof r ? [[n.i, r, ""]] : r; (e = n.exports = r.locals || {})._getContent = function() {
                        return i
                    },
                        e._getCss = function() {
                            return "" + r
                        },
                        e._insertCss = function(n) {
                            return o(i, n)
                        }
                },
                function(n, e, t) {
                    var r = t(11),
                        o = t(1),
                        i = "string" == typeof r ? [[n.i, r, ""]] : r; (e = n.exports = r.locals || {})._getContent = function() {
                        return i
                    },
                        e._getCss = function() {
                            return "" + r
                        },
                        e._insertCss = function(n) {
                            return o(i, n)
                        }
                },
                function(n, e, t) {
                    var r = t(12),
                        o = t(1),
                        i = "string" == typeof r ? [[n.i, r, ""]] : r; (e = n.exports = r.locals || {})._getContent = function() {
                        return i
                    },
                        e._getCss = function() {
                            return "" + r
                        },
                        e._insertCss = function(n) {
                            return o(i, n)
                        }
                },
                function(n, e, t) {
                    var r = t(15),
                        o = t(1),
                        i = "string" == typeof r ? [[n.i, r, ""]] : r; (e = n.exports = r.locals || {})._getContent = function() {
                        return i
                    },
                        e._getCss = function() {
                            return "" + r
                        },
                        e._insertCss = function(n) {
                            return o(i, n)
                        }
                },
                function(n, e, t) { (e = t(0)(!1)).push([n.i, ".placeholder[data-v-5314b514]{display:inline-block;color:rgba(0,0,0,0);background:#fff;opacity:.15;border-radius:2px;animation:1s loading-placeholder-data-v-5314b514 ease-in-out infinite;position:relative;top:10%;height:80%}.placeholder.color-black[data-v-5314b514]{background:#000}.placeholder.color-white[data-v-5314b514]{background:#fff}@keyframes loading-placeholder-data-v-5314b514{0%{opacity:.15}50%{opacity:.3}100%{opacity:.15}}", ""]),
                    n.exports = e
                },
                function(n, e, t) { (e = t(0)(!1)).push([n.i, ".wallet-label[data-v-ec148aa0]{height:100%;text-align:center;display:flex;gap:5px}.wallet-label *[data-v-ec148aa0]{display:inline-block;vertical-align:middle;height:100%}.wallet-label .divider[data-v-ec148aa0]{opacity:.2}.wallet-label .paypal-wordmark[data-v-ec148aa0]{display:none}.wallet-label .card-art[data-v-ec148aa0]{border-radius:3px}.wallet-label .label[data-v-ec148aa0]{max-width:40%}.wallet-label .label .limit[data-v-ec148aa0]{display:block;overflow:hidden;text-overflow:ellipsis}@media only screen and (max-width: 249px){.wallet-label .paypal-mark[data-v-ec148aa0],.wallet-label .paypal-wordmark[data-v-ec148aa0]{display:inline-block}.wallet-label .label[data-v-ec148aa0],.wallet-label .divider[data-v-ec148aa0],.wallet-label .card-art[data-v-ec148aa0],.wallet-label .pay-label[data-v-ec148aa0],.wallet-label .logo[data-v-ec148aa0]{display:none}}.wallet-label-new[data-v-ec148aa0]{display:flex;height:100%;width:100%;text-align:left;gap:10px}.wallet-label-new *[data-v-ec148aa0]{display:inline-block;vertical-align:top;height:100%}.wallet-label-new .paypal-wordmark[data-v-ec148aa0]{display:none}.wallet-label-new .card-art[data-v-ec148aa0]{border-radius:3px}.wallet-label-new .logo[data-v-ec148aa0]{margin-left:auto}.wallet-label-new .show-pay-label[data-v-ec148aa0]{all:inherit;gap:5px}.wallet-label-new .show-instruments-on-file[data-v-ec148aa0]{margin:auto;display:flex}.wallet-label-new .fi-container[data-v-ec148aa0]{display:flex}.wallet-label-new .balance[data-v-ec148aa0],.wallet-label-new .fi-logo[data-v-ec148aa0],.wallet-label-new .fi-label[data-v-ec148aa0]{display:flex;align-items:center}@media only screen and (max-width: 150px){.wallet-label-new[data-v-ec148aa0]{text-align:center;display:inline-block}.wallet-label-new .logo[data-v-ec148aa0]{display:none}.wallet-label-new .pay-label[data-v-ec148aa0]{display:none}}", ""]),
                    n.exports = e
                },
                function(n, e, t) { (e = t(0)(!1)).push([n.i, ".app-label[data-v-124872cb]{margin-left:.25rem}.wallet-label-venmo[data-v-124872cb]{height:100%;width:100%;text-align:center}.wallet-label-venmo .divider[data-v-124872cb]{margin:0 5px;opacity:.2}.wallet-label-venmo *[data-v-124872cb]{display:inline-block;vertical-align:top;height:100%}.wallet-label-venmo .logo[data-v-124872cb]{margin-left:auto;margin-right:5px}.wallet-label-venmo .label[data-v-124872cb]{max-width:40%}.wallet-label-venmo .label .limit[data-v-124872cb]{display:block;overflow:hidden;text-overflow:ellipsis}@media only screen and (max-width: 150px){.wallet-label-venmo[data-v-124872cb]{text-align:center;display:inline-block}.wallet-label-venmo .label[data-v-124872cb]{max-width:80%}.wallet-label-venmo .logo[data-v-124872cb]{display:none}}", ""]),
                    n.exports = e
                },
                function(n, e, t) { (e = t(0)(!1)).push([n.i, ".paypal-mark .paypal-logo-applepay[data-v-860bab1e]{height:30px}", ""]),
                    n.exports = e
                },
                function(n, e, t) { (e = t(0)(!1)).push([n.i, "", ""]),
                    n.exports = e
                },
                function(n, e, t) { (e = t(0)(!1)).push([n.i, "", ""]),
                    n.exports = e
                },
                function(n, e, t) { (e = t(0)(!1)).push([n.i, ".menu-button[data-v-33cb507c]{position:relative;display:inline-block;margin-left:2px;cursor:pointer}.menu-button[data-v-33cb507c]:focus{outline:none;box-shadow:0 0 0 2px rgba(50,50,50,.9) inset}.menu-button img[data-v-33cb507c]{height:30%;width:30%;position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}", ""]),
                    n.exports = e
                },
                function(n, e, t) {
                    "use strict";
                    t.r(e);
                    var r = {};
                    t.r(r),
                        t.d(r, "FUNDING", (function() {
                            return lt
                        })),
                        t.d(r, "getCorrelationID", (function() {
                            return At
                        })),
                        t.d(r, "setup", (function() {
                            return zr
                        }));
                    var o = {};
                    t.r(o),
                        t.d(o, "Promise", (function() {
                            return H
                        })),
                        t.d(o, "TYPES", (function() {
                            return qo
                        })),
                        t.d(o, "ProxyWindow", (function() {
                            return go
                        })),
                        t.d(o, "setup", (function() {
                            return Uo
                        })),
                        t.d(o, "destroy", (function() {
                            return Mo
                        })),
                        t.d(o, "serializeMessage", (function() {
                            return Fo
                        })),
                        t.d(o, "deserializeMessage", (function() {
                            return ko
                        })),
                        t.d(o, "createProxyWindow", (function() {
                            return Do
                        })),
                        t.d(o, "toProxyWindow", (function() {
                            return Io
                        })),
                        t.d(o, "on", (function() {
                            return _o
                        })),
                        t.d(o, "once", (function() {
                            return Po
                        })),
                        t.d(o, "send", (function() {
                            return Bo
                        })),
                        t.d(o, "markWindowKnown", (function() {
                            return ro
                        })),
                        t.d(o, "cleanUpWindow", (function() {
                            return Ho
                        })),
                        t.d(o, "bridge", (function() {}));
                    var i = {};
                    t.r(i),
                        t.d(i, "Buttons", (function() {
                            return bd
                        })),
                        t.d(i, "Pixel", (function() {
                            return Ed
                        })),
                        t.d(i, "Checkout", (function() {
                            return Td
                        })),
                        t.d(i, "CardForm", (function() {
                            return Ad
                        })),
                        t.d(i, "PaymentFields", (function() {
                            return Od
                        })),
                        t.d(i, "Menu", (function() {
                            return Cd
                        })),
                        t.d(i, "Modal", (function() {
                            return Rd
                        })),
                        t.d(i, "Installments", (function() {
                            return Nd
                        })),
                        t.d(i, "QRCode", (function() {
                            return xd
                        })),
                        t.d(i, "Venmo", (function() {
                            return Ld
                        })),
                        t.d(i, "ButtonsTemplate", (function() {
                            return Sd
                        })),
                        t.d(i, "PopupOpenError", (function() {
                            return _d
                        })),
                        t.d(i, "allowIframe", (function() {
                            return Pd
                        })),
                        t.d(i, "forceIframe", (function() {
                            return Bd
                        })),
                        t.d(i, "destroyAll", (function() {
                            return Fd
                        })),
                        t.d(i, "setup", (function() {
                            return kd
                        })),
                        t.d(i, "destroy", (function() {
                            return Dd
                        }));
                    var a = {};
                    t.r(a),
                        t.d(a, "CardFields", (function() {
                            return qd
                        })),
                        t.d(a, "destroy", (function() {
                            return Hd
                        }));
                    var u = {};
                    function l(n, e) {
                        if (null == n) return {};
                        var t, r, o = {},
                            i = Object.keys(n);
                        for (r = 0; r < i.length; r++) e.indexOf(t = i[r]) >= 0 || (o[t] = n[t]);
                        return o
                    }
                    function s() {
                        return window.navigator.mockUserAgent || window.navigator.userAgent
                    }
                    t.r(u),
                        t.d(u, "ThreeDomainSecure", (function() {
                            return zd
                        })),
                        t.d(u, "Captcha", (function() {
                            return Kd
                        })),
                        t.d(u, "postRobot", (function() {
                            return Zd
                        }));
                    var c = /ip(a|ro)d|silk|xoom|playbook|tablet|kindle|Nexus 7|GT-P10|SC-01C|SHW-M180S|SM-T320|SGH-T849|SCH-I800|SHW-M180L|SPH-P100|SGH-I987|zt180|HTC( Flyer|_Flyer)|Sprint ATP51|ViewPad7|pandigital(sprnova|nova)|Ideos S7|Dell Streak 7|Advent Vega|A101IT|A70BHT|MID7015|Next2|nook|FOLIO|MB511.*RUTEM|Mac OS.*Silk/i;
                    function d(n) {
                        return void 0 === n && (n = s()),
                            !!n.match(/Android|webOS|iPhone|iPad|iPod|bada|Symbian|Palm|CriOS|BlackBerry|IEMobile|WindowsMobile|Opera Mini/i)
                    }
                    function p(n) {
                        return void 0 === n && (n = s()),
                            c.test(n)
                    }
                    function f(n) {
                        return void 0 === n && (n = s()),
                        /(iPhone|iPod|iPad|Macintosh).*AppleWebKit(?!.*Safari)|.*WKWebView/i.test(n) || /\bwv\b/.test(n) || /Android.*Version\/(\d)\.(\d)/i.test(n)
                    }
                    function h() {
                        return ! 0 === window.navigator.standalone || window.matchMedia("(display-mode: standalone)").matches
                    }
                    function g(n) {
                        return void 0 === n && (n = s()),
                        /FBAN/.test(n) || /FBAV/.test(n)
                    }
                    function m(n) {
                        return void 0 === n && (n = s()),
                            /Firefox/i.test(n)
                    }
                    function y(n) {
                        return void 0 === n && (n = s()),
                            /FxiOS/i.test(n)
                    }
                    function v(n) {
                        return void 0 === n && (n = s()),
                            /EdgiOS/i.test(n)
                    }
                    function w(n) {
                        return void 0 === n && (n = s()),
                            /Opera Mini/i.test(n)
                    }
                    function b(n) {
                        return void 0 === n && (n = s()),
                            /Android/.test(n)
                    }
                    function E(n) {
                        return void 0 === n && (n = s()),
                            /iPhone|iPod|iPad/.test(n)
                    }
                    function T(n) {
                        return void 0 === n && (n = s()),
                            /QQBrowser/.test(n)
                    }
                    function A(n) {
                        return void 0 === n && (n = s()),
                        !!E(n) && ( !!
                            function(n) {
                                return void 0 === n && (n = s()),
                                    /\bGSA\b/.test(n)
                            } (n) || /.+AppleWebKit(?!.*Safari)|.*WKWebView/.test(n))
                    }
                    function O(n) {
                        return void 0 === n && (n = s()),
                        !!b(n) && /Version\/[\d.]+/.test(n) && !w(n)
                    }
                    function C() {
                        return ! ("undefined" == typeof process || !process.versions || !process.versions.electron)
                    }
                    function R(n) {
                        return void 0 === n && (n = s()),
                            !(f(n) || A(n) || O(n) || w(n) || y(n) ||
                                function(n) {
                                    return void 0 === n && (n = s()),
                                    b(n) && m(n)
                                } (n) || v(n) || g(n) || T(n) || C() || (e = s(), /Macintosh.*AppleWebKit(?!.*Safari)/i.test(e)) || h());
                        var e
                    }
                    function N(n) {
                        return void 0 === n && (n = s()),
                        /Chrome|Chromium|CriOS/.test(n) && !/SamsungBrowser|Silk|EdgA/.test(n)
                    }
                    function x(n) {
                        return void 0 === n && (n = s()),
                        /Safari/.test(n) && !N(n) && !/Silk|FxiOS|EdgiOS/.test(n)
                    }
                    function L() {
                        try {
                            if (window.ApplePaySession && window.ApplePaySession.supportsVersion(3) && window.ApplePaySession.canMakePayments()) return ! 0
                        } catch(n) {
                            return ! 1
                        }
                        return ! 1
                    }
                    function S(n, e) {
                        return (S = Object.setPrototypeOf ||
                            function(n, e) {
                                return n.__proto__ = e,
                                    n
                            })(n, e)
                    }
                    function _(n, e) {
                        n.prototype = Object.create(e.prototype),
                            n.prototype.constructor = n,
                            S(n, e)
                    }
                    function P() {
                        return (P = Object.assign ||
                            function(n) {
                                for (var e = 1; e < arguments.length; e++) {
                                    var t = arguments[e];
                                    for (var r in t)({}).hasOwnProperty.call(t, r) && (n[r] = t[r])
                                }
                                return n
                            }).apply(this, arguments)
                    }
                    function B(n) {
                        try {
                            if (!n) return ! 1;
                            if ("undefined" != typeof Promise && n instanceof Promise) return ! 0;
                            if ("undefined" != typeof window && "function" == typeof window.Window && n instanceof window.Window) return ! 1;
                            if ("undefined" != typeof window && "function" == typeof window.constructor && n instanceof window.constructor) return ! 1;
                            var e = {}.toString;
                            if (e) {
                                var t = e.call(n);
                                if ("[object Window]" === t || "[object global]" === t || "[object DOMWindow]" === t) return ! 1
                            }
                            if ("function" == typeof n.then) return ! 0
                        } catch(n) {
                            return ! 1
                        }
                        return ! 1
                    }
                    var F, k = [],
                        D = [],
                        I = 0;
                    function U() {
                        if (!I && F) {
                            var n = F;
                            F = null,
                                n.resolve()
                        }
                    }
                    function M() {
                        I += 1
                    }
                    function q() {
                        I -= 1,
                            U()
                    }
                    var H = function() {
                        function n(n) {
                            var e = this;
                            if (this.resolved = void 0, this.rejected = void 0, this.errorHandled = void 0, this.value = void 0, this.error = void 0, this.handlers = void 0, this.dispatching = void 0, this.stack = void 0, this.resolved = !1, this.rejected = !1, this.errorHandled = !1, this.handlers = [], n) {
                                var t, r, o = !1,
                                    i = !1,
                                    a = !1;
                                M();
                                try {
                                    n((function(n) {
                                        a ? e.resolve(n) : (o = !0, t = n)
                                    }), (function(n) {
                                        a ? e.reject(n) : (i = !0, r = n)
                                    }))
                                } catch(n) {
                                    return q(),
                                        void this.reject(n)
                                }
                                q(),
                                    a = !0,
                                    o ? this.resolve(t) : i && this.reject(r)
                            }
                        }
                        var e = n.prototype;
                        return e.resolve = function(n) {
                            if (this.resolved || this.rejected) return this;
                            if (B(n)) throw new Error("Can not resolve promise with another promise");
                            return this.resolved = !0,
                                this.value = n,
                                this.dispatch(),
                                this
                        },
                            e.reject = function(n) {
                                var e = this;
                                if (this.resolved || this.rejected) return this;
                                if (B(n)) throw new Error("Can not reject promise with another promise");
                                if (!n) {
                                    var t = n && "function" == typeof n.toString ? n.toString() : {}.toString.call(n);
                                    n = new Error("Expected reject to be called with Error, got " + t)
                                }
                                return this.rejected = !0,
                                    this.error = n,
                                this.errorHandled || setTimeout((function() {
                                    e.errorHandled ||
                                    function(n, e) {
                                        if ( - 1 === k.indexOf(n)) {
                                            k.push(n),
                                                setTimeout((function() {
                                                    throw n
                                                }), 1);
                                            for (var t = 0; t < D.length; t++) D[t](n, e)
                                        }
                                    } (n, e)
                                }), 1),
                                    this.dispatch(),
                                    this
                            },
                            e.asyncReject = function(n) {
                                return this.errorHandled = !0,
                                    this.reject(n),
                                    this
                            },
                            e.dispatch = function() {
                                var e = this.resolved,
                                    t = this.rejected,
                                    r = this.handlers;
                                if (!this.dispatching && (e || t)) {
                                    this.dispatching = !0,
                                        M();
                                    for (var o = function(n, e) {
                                            return n.then((function(n) {
                                                e.resolve(n)
                                            }), (function(n) {
                                                e.reject(n)
                                            }))
                                        },
                                             i = 0; i < r.length; i++) {
                                        var a = r[i],
                                            u = a.onSuccess,
                                            l = a.onError,
                                            s = a.promise,
                                            c = void 0;
                                        if (e) try {
                                            c = u ? u(this.value) : this.value
                                        } catch(n) {
                                            s.reject(n);
                                            continue
                                        } else if (t) {
                                            if (!l) {
                                                s.reject(this.error);
                                                continue
                                            }
                                            try {
                                                c = l(this.error)
                                            } catch(n) {
                                                s.reject(n);
                                                continue
                                            }
                                        }
                                        if (c instanceof n && (c.resolved || c.rejected)) {
                                            var d = c;
                                            d.resolved ? s.resolve(d.value) : s.reject(d.error),
                                                d.errorHandled = !0
                                        } else B(c) ? c instanceof n && (c.resolved || c.rejected) ? c.resolved ? s.resolve(c.value) : s.reject(c.error) : o(c, s) : s.resolve(c)
                                    }
                                    r.length = 0,
                                        this.dispatching = !1,
                                        q()
                                }
                            },
                            e.then = function(e, t) {
                                if (e && "function" != typeof e && !e.call) throw new Error("Promise.then expected a function for success handler");
                                if (t && "function" != typeof t && !t.call) throw new Error("Promise.then expected a function for error handler");
                                var r = new n;
                                return this.handlers.push({
                                    promise: r,
                                    onSuccess: e,
                                    onError: t
                                }),
                                    this.errorHandled = !0,
                                    this.dispatch(),
                                    r
                            },
                            e.
                                catch = function(n) {
                                return this.then(void 0, n)
                            },
                            e.
                                finally = function(e) {
                                if (e && "function" != typeof e && !e.call) throw new Error("Promise.finally expected a function");
                                return this.then((function(t) {
                                    return n.
                                    try (e).then((function() {
                                        return t
                                    }))
                                }), (function(t) {
                                    return n.
                                    try (e).then((function() {
                                        throw t
                                    }))
                                }))
                            },
                            e.timeout = function(n, e) {
                                var t = this;
                                if (this.resolved || this.rejected) return this;
                                var r = setTimeout((function() {
                                    t.resolved || t.rejected || t.reject(e || new Error("Promise timed out after " + n + "ms"))
                                }), n);
                                return this.then((function(n) {
                                    return clearTimeout(r),
                                        n
                                }))
                            },
                            e.toPromise = function() {
                                if ("undefined" == typeof Promise) throw new TypeError("Could not find Promise");
                                return Promise.resolve(this)
                            },
                            e.lazy = function() {
                                return this.errorHandled = !0,
                                    this
                            },
                            n.resolve = function(e) {
                                return e instanceof n ? e: B(e) ? new n((function(n, t) {
                                    return e.then(n, t)
                                })) : (new n).resolve(e)
                            },
                            n.reject = function(e) {
                                return (new n).reject(e)
                            },
                            n.asyncReject = function(e) {
                                return (new n).asyncReject(e)
                            },
                            n.all = function(e) {
                                var t = new n,
                                    r = e.length,
                                    o = [].slice();
                                if (!r) return t.resolve(o),
                                    t;
                                for (var i = function(n, e, i) {
                                        return e.then((function(e) {
                                            o[n] = e,
                                            0 == (r -= 1) && t.resolve(o)
                                        }), (function(n) {
                                            i.reject(n)
                                        }))
                                    },
                                         a = 0; a < e.length; a++) {
                                    var u = e[a];
                                    if (u instanceof n) {
                                        if (u.resolved) {
                                            o[a] = u.value,
                                                r -= 1;
                                            continue
                                        }
                                    } else if (!B(u)) {
                                        o[a] = u,
                                            r -= 1;
                                        continue
                                    }
                                    i(a, n.resolve(u), t)
                                }
                                return 0 === r && t.resolve(o),
                                    t
                            },
                            n.hash = function(e) {
                                var t = {},
                                    r = [],
                                    o = function(n) {
                                        if (e.hasOwnProperty(n)) {
                                            var o = e[n];
                                            B(o) ? r.push(o.then((function(e) {
                                                t[n] = e
                                            }))) : t[n] = o
                                        }
                                    };
                                for (var i in e) o(i);
                                return n.all(r).then((function() {
                                    return t
                                }))
                            },
                            n.map = function(e, t) {
                                return n.all(e.map(t))
                            },
                            n.onPossiblyUnhandledException = function(n) {
                                return function(n) {
                                    return D.push(n),
                                        {
                                            cancel: function() {
                                                D.splice(D.indexOf(n), 1)
                                            }
                                        }
                                } (n)
                            },
                            n.
                                try = function(e, t, r) {
                                if (e && "function" != typeof e && !e.call) throw new Error("Promise.try expected a function");
                                var o;
                                M();
                                try {
                                    o = e.apply(t, r || [])
                                } catch(e) {
                                    return q(),
                                        n.reject(e)
                                }
                                return q(),
                                    n.resolve(o)
                            },
                            n.delay = function(e) {
                                return new n((function(n) {
                                    setTimeout(n, e)
                                }))
                            },
                            n.isPromise = function(e) {
                                return !! (e && e instanceof n) || B(e)
                            },
                            n.flush = function() {
                                return e = F = F || new n,
                                    U(),
                                    e;
                                var e
                            }, n
                    } ();
                    function W(n) {
                        return "[object RegExp]" === {}.toString.call(n)
                    }
                    var j = {
                            IFRAME: "iframe",
                            POPUP: "popup"
                        },
                        z = "Call was rejected by callee.\r\n";
                    function K(n) {
                        return void 0 === n && (n = window),
                            n.location.protocol
                    }
                    function Z(n) {
                        if (void 0 === n && (n = window), n.mockDomain) {
                            var e = n.mockDomain.split("//")[0];
                            if (e) return e
                        }
                        return K(n)
                    }
                    function V(n) {
                        return void 0 === n && (n = window),
                        "about:" === Z(n)
                    }
                    function Y(n) {
                        if (void 0 === n && (n = window), n) try {
                            if (n.parent && n.parent !== n) return n.parent
                        } catch(n) {}
                    }
                    function G(n) {
                        if (void 0 === n && (n = window), n && !Y(n)) try {
                            return n.opener
                        } catch(n) {}
                    }
                    function X(n) {
                        try {
                            return ! 0
                        } catch(n) {}
                        return ! 1
                    }
                    function J(n) {
                        void 0 === n && (n = window);
                        var e = n.location;
                        if (!e) throw new Error("Can not read window location");
                        var t = K(n);
                        if (!t) throw new Error("Can not read window protocol");
                        if ("file:" === t) return "file://";
                        if ("about:" === t) {
                            var r = Y(n);
                            return r && X() ? J(r) : "about://"
                        }
                        var o = e.host;
                        if (!o) throw new Error("Can not read window host");
                        return t + "//" + o
                    }
                    function $(n) {
                        void 0 === n && (n = window);
                        var e = J(n);
                        return e && n.mockDomain && 0 === n.mockDomain.indexOf("mock:") ? n.mockDomain: e
                    }
                    function Q(n) {
                        if (!
                            function(n) {
                                try {
                                    if (n === window) return ! 0
                                } catch(n) {}
                                try {
                                    var e = Object.getOwnPropertyDescriptor(n, "location");
                                    if (e && !1 === e.enumerable) return ! 1
                                } catch(n) {}
                                try {
                                    if (V(n) && X()) return ! 0
                                } catch(n) {}
                                try {
                                    if (function(n) {
                                        return void 0 === n && (n = window),
                                        "mock:" === Z(n)
                                    } (n) && X()) return ! 0
                                } catch(n) {}
                                try {
                                    if (J(n) === J(window)) return ! 0
                                } catch(n) {}
                                return ! 1
                            } (n)) return ! 1;
                        try {
                            if (n === window) return ! 0;
                            if (V(n) && X()) return ! 0;
                            if ($(window) === $(n)) return ! 0
                        } catch(n) {}
                        return ! 1
                    }
                    function nn(n) {
                        if (!Q(n)) throw new Error("Expected window to be same domain");
                        return n
                    }
                    function en(n, e) {
                        if (!n || !e) return ! 1;
                        var t = Y(e);
                        return t ? t === n: -1 !==
                            function(n) {
                                var e = [];
                                try {
                                    for (; n.parent !== n;) e.push(n.parent),
                                        n = n.parent
                                } catch(n) {}
                                return e
                            } (e).indexOf(n)
                    }
                    function tn(n) {
                        var e, t, r = [];
                        try {
                            e = n.frames
                        } catch(t) {
                            e = n
                        }
                        try {
                            t = e.length
                        } catch(n) {}
                        if (0 === t) return r;
                        if (t) {
                            for (var o = 0; o < t; o++) {
                                var i = void 0;
                                try {
                                    i = e[o]
                                } catch(n) {
                                    continue
                                }
                                r.push(i)
                            }
                            return r
                        }
                        for (var a = 0; a < 100; a++) {
                            var u = void 0;
                            try {
                                u = e[a]
                            } catch(n) {
                                return r
                            }
                            if (!u) return r;
                            r.push(u)
                        }
                        return r
                    }
                    function rn(n) {
                        for (var e = [], t = 0, r = tn(n); t < r.length; t++) {
                            var o = r[t];
                            e.push(o);
                            for (var i = 0,
                                     a = rn(o); i < a.length; i++) e.push(a[i])
                        }
                        return e
                    }
                    function on(n) {
                        void 0 === n && (n = window);
                        try {
                            if (n.top) return n.top
                        } catch(n) {}
                        if (Y(n) === n) return n;
                        try {
                            if (en(window, n) && window.top) return window.top
                        } catch(n) {}
                        try {
                            if (en(n, window) && window.top) return window.top
                        } catch(n) {}
                        for (var e = 0,
                                 t = rn(n); e < t.length; e++) {
                            var r = t[e];
                            try {
                                if (r.top) return r.top
                            } catch(n) {}
                            if (Y(r) === r) return r
                        }
                    }
                    function an(n) {
                        var e = on(n);
                        if (!e) throw new Error("Can not determine top window");
                        var t = [].concat(rn(e), [e]);
                        return - 1 === t.indexOf(n) && (t = [].concat(t, [n], rn(n))),
                            t
                    }
                    var un = [],
                        ln = [];
                    function sn(n, e) {
                        void 0 === e && (e = !0);
                        try {
                            if (n === window) return ! 1
                        } catch(n) {
                            return ! 0
                        }
                        try {
                            if (!n) return ! 0
                        } catch(n) {
                            return ! 0
                        }
                        try {
                            if (n.closed) return ! 0
                        } catch(n) {
                            return ! n || n.message !== z
                        }
                        if (e && Q(n)) try {
                            if (n.mockclosed) return ! 0
                        } catch(n) {}
                        try {
                            if (!n.parent || !n.top) return ! 0
                        } catch(n) {}
                        var t = function(n, e) {
                            for (var t = 0; t < n.length; t++) try {
                                if (n[t] === e) return t
                            } catch(n) {}
                            return - 1
                        } (un, n);
                        if ( - 1 !== t) {
                            var r = ln[t];
                            if (r &&
                                function(n) {
                                    if (!n.contentWindow) return ! 0;
                                    if (!n.parentNode) return ! 0;
                                    var e = n.ownerDocument;
                                    if (e && e.documentElement && !e.documentElement.contains(n)) {
                                        for (var t = n; t.parentNode && t.parentNode !== t;) t = t.parentNode;
                                        if (!t.host || !e.documentElement.contains(t.host)) return ! 0
                                    }
                                    return ! 1
                                } (r)) return ! 0
                        }
                        return ! 1
                    }
                    function cn(n, e) {
                        for (var t = tn(n), r = 0; r < t.length; r++) {
                            var o = t[r];
                            try {
                                if (Q(o) && o.name === e && -1 !== t.indexOf(o)) return o
                            } catch(n) {}
                        }
                        try {
                            if ( - 1 !== t.indexOf(n.frames[e])) return n.frames[e]
                        } catch(n) {}
                        try {
                            if ( - 1 !== t.indexOf(n[e])) return n[e]
                        } catch(n) {}
                    }
                    function dn(n) {
                        return void 0 === n && (n = window),
                        G(n = n || window) || Y(n) || void 0
                    }
                    function pn(n, e) {
                        for (var t = 0; t < n.length; t++) for (var r = n[t], o = 0; o < e.length; o++) if (r === e[o]) return ! 0;
                        return ! 1
                    }
                    function fn(n) {
                        void 0 === n && (n = window);
                        for (var e = 0,
                                 t = n; t;)(t = Y(t)) && (e += 1);
                        return e
                    }
                    function hn(n, e) {
                        var t = on(n) || n,
                            r = on(e) || e;
                        try {
                            if (t && r) return t === r
                        } catch(n) {}
                        var o = an(n),
                            i = an(e);
                        if (pn(o, i)) return ! 0;
                        var a = G(t),
                            u = G(r);
                        return a && pn(an(a), i) || u && pn(an(u), o),
                            !1
                    }
                    function gn(n, e) {
                        if ("string" == typeof n) {
                            if ("string" == typeof e) return "*" === n || e === n;
                            if (W(e)) return ! 1;
                            if (Array.isArray(e)) return ! 1
                        }
                        return W(n) ? W(e) ? n.toString() === e.toString() : !Array.isArray(e) && Boolean(e.match(n)) : !!Array.isArray(n) && (Array.isArray(e) ? JSON.stringify(n) === JSON.stringify(e) : !W(e) && n.some((function(n) {
                            return gn(n, e)
                        })))
                    }
                    function mn(n) {
                        return n.match(/^(https?|mock|file):\/\//) ? n.split("/").slice(0, 3).join("/") : $()
                    }
                    function yn(n, e, t, r) {
                        var o;
                        return void 0 === t && (t = 1e3),
                        void 0 === r && (r = 1 / 0),
                            function i() {
                                if (sn(n)) return o && clearTimeout(o),
                                    e();
                                r <= 0 ? clearTimeout(o) : (r -= t, o = setTimeout(i, t))
                            } (),
                            {
                                cancel: function() {
                                    o && clearTimeout(o)
                                }
                            }
                    }
                    function vn(n) {
                        try {
                            if (n === window) return ! 0
                        } catch(n) {
                            if (n && n.message === z) return ! 0
                        }
                        try {
                            if ("[object Window]" === {}.toString.call(n)) return ! 0
                        } catch(n) {
                            if (n && n.message === z) return ! 0
                        }
                        try {
                            if (window.Window && n instanceof window.Window) return ! 0
                        } catch(n) {
                            if (n && n.message === z) return ! 0
                        }
                        try {
                            if (n && n.self === n) return ! 0
                        } catch(n) {
                            if (n && n.message === z) return ! 0
                        }
                        try {
                            if (n && n.parent === n) return ! 0
                        } catch(n) {
                            if (n && n.message === z) return ! 0
                        }
                        try {
                            if (n && n.top === n) return ! 0
                        } catch(n) {
                            if (n && n.message === z) return ! 0
                        }
                        try {
                            if (n && "__unlikely_value__" === n.__cross_domain_utils_window_check__) return ! 1
                        } catch(n) {
                            return ! 0
                        }
                        try {
                            if ("postMessage" in n && "self" in n && "location" in n) return ! 0
                        } catch(n) {}
                        return ! 1
                    }
                    function wn(n) {
                        if (Q(n)) return nn(n).frameElement;
                        for (var e = 0,
                                 t = document.querySelectorAll("iframe"); e < t.length; e++) {
                            var r = t[e];
                            if (r && r.contentWindow && r.contentWindow === n) return r
                        }
                    }
                    function bn(n) {
                        if (function(n) {
                            return void 0 === n && (n = window),
                                Boolean(Y(n))
                        } (n)) {
                            var e = wn(n);
                            if (e && e.parentElement) return void e.parentElement.removeChild(e)
                        }
                        try {
                            n.close()
                        } catch(n) {}
                    }
                    function En(n, e) {
                        for (var t = 0; t < n.length; t++) try {
                            if (n[t] === e) return t
                        } catch(n) {}
                        return - 1
                    }
                    var Tn, An = function() {
                        function n() {
                            if (this.name = void 0, this.weakmap = void 0, this.keys = void 0, this.values = void 0, this.name = "__weakmap_" + (1e9 * Math.random() >>> 0) + "__",
                                function() {
                                    if ("undefined" == typeof WeakMap) return ! 1;
                                    if (void 0 === Object.freeze) return ! 1;
                                    try {
                                        var n = new WeakMap,
                                            e = {};
                                        return Object.freeze(e),
                                            n.set(e, "__testvalue__"),
                                        "__testvalue__" === n.get(e)
                                    } catch(n) {
                                        return ! 1
                                    }
                                } ()) try {
                                this.weakmap = new WeakMap
                            } catch(n) {}
                            this.keys = [],
                                this.values = []
                        }
                        var e = n.prototype;
                        return e._cleanupClosedWindows = function() {
                            for (var n = this.weakmap,
                                     e = this.keys,
                                     t = 0; t < e.length; t++) {
                                var r = e[t];
                                if (vn(r) && sn(r)) {
                                    if (n) try {
                                        n.delete(r)
                                    } catch(n) {}
                                    e.splice(t, 1),
                                        this.values.splice(t, 1),
                                        t -= 1
                                }
                            }
                        },
                            e.isSafeToReadWrite = function(n) {
                                return ! vn(n)
                            },
                            e.set = function(n, e) {
                                if (!n) throw new Error("WeakMap expected key");
                                var t = this.weakmap;
                                if (t) try {
                                    t.set(n, e)
                                } catch(n) {
                                    delete this.weakmap
                                }
                                if (this.isSafeToReadWrite(n)) try {
                                    var r = this.name,
                                        o = n[r];
                                    return void(o && o[0] === n ? o[1] = e: Object.defineProperty(n, r, {
                                        value: [n, e],
                                        writable: !0
                                    }))
                                } catch(n) {}
                                this._cleanupClosedWindows();
                                var i = this.keys,
                                    a = this.values,
                                    u = En(i, n); - 1 === u ? (i.push(n), a.push(e)) : a[u] = e
                            },
                            e.get = function(n) {
                                if (!n) throw new Error("WeakMap expected key");
                                var e = this.weakmap;
                                if (e) try {
                                    if (e.has(n)) return e.get(n)
                                } catch(n) {
                                    delete this.weakmap
                                }
                                if (this.isSafeToReadWrite(n)) try {
                                    var t = n[this.name];
                                    return t && t[0] === n ? t[1] : void 0
                                } catch(n) {}
                                this._cleanupClosedWindows();
                                var r = En(this.keys, n);
                                if ( - 1 !== r) return this.values[r]
                            },
                            e.delete = function(n) {
                                if (!n) throw new Error("WeakMap expected key");
                                var e = this.weakmap;
                                if (e) try {
                                    e.delete(n)
                                } catch(n) {
                                    delete this.weakmap
                                }
                                if (this.isSafeToReadWrite(n)) try {
                                    var t = n[this.name];
                                    t && t[0] === n && (t[0] = t[1] = void 0)
                                } catch(n) {}
                                this._cleanupClosedWindows();
                                var r = this.keys,
                                    o = En(r, n); - 1 !== o && (r.splice(o, 1), this.values.splice(o, 1))
                            },
                            e.has = function(n) {
                                if (!n) throw new Error("WeakMap expected key");
                                var e = this.weakmap;
                                if (e) try {
                                    if (e.has(n)) return ! 0
                                } catch(n) {
                                    delete this.weakmap
                                }
                                if (this.isSafeToReadWrite(n)) try {
                                    var t = n[this.name];
                                    return ! (!t || t[0] !== n)
                                } catch(n) {}
                                return this._cleanupClosedWindows(),
                                -1 !== En(this.keys, n)
                            },
                            e.getOrSet = function(n, e) {
                                if (this.has(n)) return this.get(n);
                                var t = e();
                                return this.set(n, t),
                                    t
                            },
                            n
                    } ();
                    function On(n) {
                        return (On = Object.setPrototypeOf ? Object.getPrototypeOf: function(n) {
                            return n.__proto__ || Object.getPrototypeOf(n)
                        })(n)
                    }
                    function Cn() {
                        if ("undefined" == typeof Reflect || !Reflect.construct) return ! 1;
                        if (Reflect.construct.sham) return ! 1;
                        if ("function" == typeof Proxy) return ! 0;
                        try {
                            return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))),
                                !0
                        } catch(n) {
                            return ! 1
                        }
                    }
                    function Rn(n, e, t) {
                        return (Rn = Cn() ? Reflect.construct: function(n, e, t) {
                            var r = [null];
                            r.push.apply(r, e);
                            var o = new(Function.bind.apply(n, r));
                            return t && S(o, t.prototype),
                                o
                        }).apply(null, arguments)
                    }
                    function Nn(n) {
                        var e = "function" == typeof Map ? new Map: void 0;
                        return (Nn = function(n) {
                            if (null === n || -1 === Function.toString.call(n).indexOf("[native code]")) return n;
                            if ("function" != typeof n) throw new TypeError("Super expression must either be null or a function");
                            if (void 0 !== e) {
                                if (e.has(n)) return e.get(n);
                                e.set(n, t)
                            }
                            function t() {
                                return Rn(n, arguments, On(this).constructor)
                            }
                            return t.prototype = Object.create(n.prototype, {
                                constructor: {
                                    value: t,
                                    enumerable: !1,
                                    writable: !0,
                                    configurable: !0
                                }
                            }),
                                S(t, n)
                        })(n)
                    }
                    function xn(n) {
                        var e = !1;
                        try { (n instanceof window.Element || null !== n && "object" == typeof n && 1 === n.nodeType && "object" == typeof n.style && "object" == typeof n.ownerDocument) && (e = !0)
                        } catch(n) {}
                        return e
                    }
                    function Ln(n) {
                        return n.name || n.__name__ || n.displayName || "anonymous"
                    }
                    function Sn(n, e) {
                        try {
                            delete n.name,
                                n.name = e
                        } catch(n) {}
                        return n.__name__ = n.displayName = e,
                            n
                    }
                    function _n(n) {
                        if ("function" == typeof btoa) return btoa(encodeURIComponent(n).replace(/%([0-9A-F]{2})/g, (function(n, e) {
                            return String.fromCharCode(parseInt(e, 16))
                        }))).replace(/[=]/g, "");
                        if ("undefined" != typeof Buffer) return Buffer.from(n, "utf8").toString("base64").replace(/[=]/g, "");
                        throw new Error("Can not find window.btoa or Buffer")
                    }
                    function Pn(n) {
                        if ("function" == typeof atob) return decodeURIComponent([].map.call(atob(n), (function(n) {
                            return "%" + ("00" + n.charCodeAt(0).toString(16)).slice( - 2)
                        })).join(""));
                        if ("undefined" != typeof Buffer) return Buffer.from(n, "base64").toString("utf8");
                        throw new Error("Can not find window.atob or Buffer")
                    }
                    function Bn() {
                        var n = "0123456789abcdef";
                        return "uid_" + "xxxxxxxxxx".replace(/./g, (function() {
                            return n.charAt(Math.floor(Math.random() * n.length))
                        })) + "_" + _n((new Date).toISOString().slice(11, 19).replace("T", ".")).replace(/[^a-zA-Z0-9]/g, "").toLowerCase()
                    }
                    function Fn() {
                        if ("undefined" != typeof window) return window;
                        if ("undefined" != typeof window) return window;
                        if ("undefined" != typeof global) return global;
                        throw new Error("No global found")
                    }
                    function kn(n) {
                        try {
                            return JSON.stringify([].slice.call(n), (function(n, e) {
                                return "function" == typeof e ? "memoize[" +
                                    function(n) {
                                        if (Tn = Tn || new An, null == n || "object" != typeof n && "function" != typeof n) throw new Error("Invalid object");
                                        var e = Tn.get(n);
                                        return e || (e = typeof n + ":" + Bn(), Tn.set(n, e)),
                                            e
                                    } (e) + "]": xn(e) ? {}: e
                            }))
                        } catch(n) {
                            throw new Error("Arguments not serializable -- can not be used to memoize")
                        }
                    }
                    function Dn() {
                        return {}
                    }
                    var In = 0,
                        Un = 0;
                    function Mn(n, e) {
                        void 0 === e && (e = {});
                        var t, r, o = e.thisNamespace,
                            i = void 0 !== o && o,
                            a = e.time,
                            u = In;
                        In += 1;
                        var l = function() {
                            for (var e = arguments.length,
                                     o = new Array(e), l = 0; l < e; l++) o[l] = arguments[l];
                            var s, c;
                            u < Un && (t = null, r = null, u = In, In += 1),
                                s = i ? (r = r || new An).getOrSet(this, Dn) : t = t || {};
                            try {
                                c = kn(o)
                            } catch(e) {
                                return n.apply(this, arguments)
                            }
                            var d = s[c];
                            if (d && a && Date.now() - d.time < a && (delete s[c], d = null), d) return d.value;
                            var p = Date.now(),
                                f = n.apply(this, arguments);
                            return s[c] = {
                                time: p,
                                value: f
                            },
                                f
                        };
                        return l.reset = function() {
                            t = null,
                                r = null
                        },
                            Sn(l, (e.name || Ln(n)) + "::memoized")
                    }
                    function qn(n) {
                        var e = {};
                        function t() {
                            for (var t = arguments,
                                     r = this,
                                     o = arguments.length,
                                     i = new Array(o), a = 0; a < o; a++) i[a] = arguments[a];
                            var u = kn(i);
                            return e.hasOwnProperty(u) || (e[u] = H.
                            try ((function() {
                                return n.apply(r, t)
                            })).
                            finally((function() {
                                delete e[u]
                            }))),
                                e[u]
                        }
                        return t.reset = function() {
                            e = {}
                        },
                            Sn(t, Ln(n) + "::promiseMemoized")
                    }
                    function Hn(n, e, t) {
                        void 0 === t && (t = []);
                        var r = n.__inline_memoize_cache__ = n.__inline_memoize_cache__ || {},
                            o = kn(t);
                        return r.hasOwnProperty(o) ? r[o] : r[o] = e.apply(void 0, t)
                    }
                    function Wn() {}
                    function jn(n) {
                        var e = !1;
                        return Sn((function() {
                            if (!e) return e = !0,
                                n.apply(this, arguments)
                        }), Ln(n) + "::once")
                    }
                    function zn(n, e) {
                        if (void 0 === e && (e = 1), e >= 3) return "stringifyError stack overflow";
                        try {
                            if (!n) return "<unknown error: " + {}.toString.call(n) + ">";
                            if ("string" == typeof n) return n;
                            if (n instanceof Error) {
                                var t = n && n.stack,
                                    r = n && n.message;
                                if (t && r) return - 1 !== t.indexOf(r) ? t: r + "\n" + t;
                                if (t) return t;
                                if (r) return r
                            }
                            return n && n.toString && "function" == typeof n.toString ? n.toString() : {}.toString.call(n)
                        } catch(n) {
                            return "Error while stringifying error: " + zn(n, e + 1)
                        }
                    }
                    function Kn(n) {
                        return "string" == typeof n ? n: n && n.toString && "function" == typeof n.toString ? n.toString() : {}.toString.call(n)
                    }
                    function Zn(n, e) {
                        if (!e) return n;
                        if (Object.assign) return Object.assign(n, e);
                        for (var t in e) e.hasOwnProperty(t) && (n[t] = e[t]);
                        return n
                    }
                    function Vn(n) {
                        if (Object.values) return Object.values(n);
                        var e = [];
                        for (var t in n) n.hasOwnProperty(t) && e.push(n[t]);
                        return e
                    }
                    function Yn(n, e) {
                        return Math.round(n * e / 100)
                    }
                    function Gn() {
                        return Math.max.apply(Math, arguments)
                    }
                    function Xn(n, e) {
                        var t = n % e;
                        return t ? n - t + e: n
                    }
                    function Jn(n) {
                        return "data:image/svg+xml;base64," + _n(n)
                    }
                    function $n(n, e) {
                        void 0 === e && (e = Boolean);
                        var t = {};
                        for (var r in n) n.hasOwnProperty(r) && e(n[r], r) && (t[r] = n[r]);
                        return t
                    }
                    function Qn(n) {
                        return n
                    }
                    function ne(n, e) {
                        var t;
                        return function r() {
                            t = setTimeout((function() {
                                n(),
                                    r()
                            }), e)
                        } (),
                            {
                                cancel: function() {
                                    clearTimeout(t)
                                }
                            }
                    }
                    function ee() {
                        var n = {},
                            e = {},
                            t = {
                                on: function(n, t) {
                                    var r = e[n] = e[n] || [];
                                    r.push(t);
                                    var o = !1;
                                    return {
                                        cancel: function() {
                                            o || (o = !0, r.splice(r.indexOf(t), 1))
                                        }
                                    }
                                },
                                once: function(n, e) {
                                    var r = t.on(n, (function() {
                                        r.cancel(),
                                            e()
                                    }));
                                    return r
                                },
                                trigger: function(n) {
                                    for (var t = arguments.length,
                                             r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++) r[o - 1] = arguments[o];
                                    var i = e[n],
                                        a = [];
                                    if (i) for (var u = function(n) {
                                            var e = i[n];
                                            a.push(H.
                                            try ((function() {
                                                return e.apply(void 0, r)
                                            })))
                                        },
                                                    l = 0; l < i.length; l++) u(l);
                                    return H.all(a).then(Wn)
                                },
                                triggerOnce: function(e) {
                                    if (n[e]) return H.resolve();
                                    n[e] = !0;
                                    for (var r = arguments.length,
                                             o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) o[i - 1] = arguments[i];
                                    return t.trigger.apply(t, [e].concat(o))
                                },
                                reset: function() {
                                    e = {}
                                }
                            };
                        return t
                    }
                    function te(n) {
                        return n.replace(/-([a-z])/g, (function(n) {
                            return n[1].toUpperCase()
                        }))
                    }
                    function re(n) {
                        return n.charAt(0).toUpperCase() + n.slice(1).toLowerCase()
                    }
                    function oe(n, e, t) {
                        if (Array.isArray(n)) {
                            if ("number" != typeof e) throw new TypeError("Array key must be number")
                        } else if ("object" == typeof n && null !== n && "string" != typeof e) throw new TypeError("Object key must be string");
                        Object.defineProperty(n, e, {
                            configurable: !0,
                            enumerable: !0,
                            get: function() {
                                delete n[e];
                                var r = t();
                                return n[e] = r,
                                    r
                            },
                            set: function(t) {
                                delete n[e],
                                    n[e] = t
                            }
                        })
                    }
                    function ie(n) {
                        return [].slice.call(n)
                    }
                    function ae(n) {
                        return "object" == typeof(e = n) && null !== e && "[object Object]" === {}.toString.call(n);
                        var e
                    }
                    function ue(n) {
                        if (!ae(n)) return ! 1;
                        var e = n.constructor;
                        if ("function" != typeof e) return ! 1;
                        var t = e.prototype;
                        return !! ae(t) && !!t.hasOwnProperty("isPrototypeOf")
                    }
                    function le(n, e, t) {
                        if (void 0 === t && (t = ""), Array.isArray(n)) {
                            for (var r = n.length,
                                     o = [], i = function(r) {
                                    oe(o, r, (function() {
                                        var o = t ? t + "." + r: "" + r,
                                            i = e(n[r], r, o);
                                        return (ue(i) || Array.isArray(i)) && (i = le(i, e, o)),
                                            i
                                    }))
                                },
                                     a = 0; a < r; a++) i(a);
                            return o
                        }
                        if (ue(n)) {
                            var u = {},
                                l = function(r) {
                                    if (!n.hasOwnProperty(r)) return "continue";
                                    oe(u, r, (function() {
                                        var o = t ? t + "." + r: "" + r,
                                            i = e(n[r], r, o);
                                        return (ue(i) || Array.isArray(i)) && (i = le(i, e, o)),
                                            i
                                    }))
                                };
                            for (var s in n) l(s);
                            return u
                        }
                        throw new Error("Pass an object or array")
                    }
                    function se(n) {
                        return null != n
                    }
                    function ce(n) {
                        return "[object RegExp]" === {}.toString.call(n)
                    }
                    function de(n, e, t) {
                        if (n.hasOwnProperty(e)) return n[e];
                        var r = t();
                        return n[e] = r,
                            r
                    }
                    function pe(n) {
                        var e, t = [],
                            r = !1,
                            o = {
                                set: function(e, t) {
                                    return r || (n[e] = t, o.register((function() {
                                        delete n[e]
                                    }))),
                                        t
                                },
                                register: function(n) {
                                    var o = jn((function() {
                                        return n(e)
                                    }));
                                    return r ? n(e) : t.push(o),
                                        {
                                            cancel: function() {
                                                var n = t.indexOf(o); - 1 !== n && t.splice(n, 1)
                                            }
                                        }
                                },
                                all: function(n) {
                                    e = n;
                                    var o = [];
                                    for (r = !0; t.length;) {
                                        var i = t.shift();
                                        o.push(i())
                                    }
                                    return H.all(o).then(Wn)
                                }
                            };
                        return o
                    }
                    function fe(n, e) {
                        if (null == e) throw new Error("Expected " + n + " to be present");
                        return e
                    }
                    Mn.clear = function() {
                        Un = In
                    },
                        Mn(Vn);
                    var he = function(n) {
                        function e(e) {
                            var t;
                            return (t = n.call(this, e) || this).name = t.constructor.name,
                                "function" == typeof Error.captureStackTrace ? Error.captureStackTrace(function(n) {
                                    if (void 0 === n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                                    return n
                                } (t), t.constructor) : t.stack = new Error(e).stack,
                                t
                        }
                        return _(e, n),
                            e
                    } (Nn(Error));
                    function ge() {
                        var n = document.body;
                        if (!n) throw new Error("Body element not found");
                        return n
                    }
                    function me() {
                        return Boolean(document.body) && "complete" === document.readyState
                    }
                    function ye() {
                        return Boolean(document.body) && "interactive" === document.readyState
                    }
                    function ve(n) {
                        return encodeURIComponent(n)
                    }
                    function we() {
                        return Hn(we, (function() {
                            return new H((function(n) {
                                me() && n(),
                                    window.addEventListener("load", (function() {
                                        return n()
                                    }))
                            }))
                        }))
                    }
                    function be(n) {
                        return Hn(be, (function() {
                            var e = {};
                            if (!n) return e;
                            if ( - 1 === n.indexOf("=")) return e;
                            for (var t = 0,
                                     r = n.split("&"); t < r.length; t++) {
                                var o = r[t]; (o = o.split("="))[0] && o[1] && (e[decodeURIComponent(o[0])] = decodeURIComponent(o[1]))
                            }
                            return e
                        }), [n])
                    }
                    function Ee(n, e) {
                        return void 0 === e && (e = {}),
                            e && Object.keys(e).length ? (void 0 === (t = P({},
                                be(n), e)) && (t = {}), Object.keys(t).filter((function(n) {
                                return "string" == typeof t[n] || "boolean" == typeof t[n]
                            })).map((function(n) {
                                var e = t[n];
                                if ("string" != typeof e && "boolean" != typeof e) throw new TypeError("Invalid type for query");
                                return ve(n) + "=" + ve(e.toString())
                            })).join("&")) : n;
                        var t
                    }
                    function Te(n, e) {
                        var t, r, o = e.query || {},
                            i = e.hash || {},
                            a = n.split("#");
                        r = a[1];
                        var u = (t = a[0]).split("?");
                        t = u[0];
                        var l = Ee(u[1], o),
                            s = Ee(r, i);
                        return l && (t = t + "?" + l),
                        s && (t = t + "#" + s),
                            t
                    }
                    function Ae() {
                        return Hn(Ae, (function() {
                            var n = window.performance;
                            if (n && n.now && n.timing && n.timing.connectEnd && n.timing.navigationStart && Math.abs(n.now() - Date.now()) > 1e3 && n.now() - (n.timing.connectEnd - n.timing.navigationStart) > 0) return n
                        }))
                    }
                    function Oe() {
                        return "undefined" != typeof window && void 0 !== window.location
                    }
                    function Ce() {
                        return Hn(Ce, (function() {
                            try {
                                if ("undefined" == typeof window) return ! 1;
                                if (window.localStorage) {
                                    var n = Math.random().toString();
                                    window.localStorage.setItem("__test__localStorage__", n);
                                    var e = window.localStorage.getItem("__test__localStorage__");
                                    if (window.localStorage.removeItem("__test__localStorage__"), n === e) return ! 0
                                }
                            } catch(n) {}
                            return ! 1
                        }))
                    }
                    function Re() {
                        var n = window.navigator,
                            e = n.languages ? [].concat(n.languages) : [];
                        return n.language && e.push(n.language),
                        n.userLanguage && e.push(n.userLanguage),
                            e.map((function(n) {
                                if (n && n.match(/^[a-z]{2}[-_][A-Z]{2}$/)) {
                                    var e = n.split(/[-_]/);
                                    return {
                                        country: e[1],
                                        lang: e[0]
                                    }
                                }
                                return n && n.match(/^[a-z]{2}$/) ? {
                                    lang: n
                                }: null
                            })).filter(Boolean)
                    }
                    function Ne(n, e) {
                        n.appendChild(e)
                    }
                    function xe(n, e) {
                        return void 0 === e && (e = document),
                            xn(n) ? n: "string" == typeof n ? e.querySelector(n) : void 0
                    }
                    function Le(n, e) {
                        void 0 === e && (e = document);
                        var t = xe(n, e);
                        if (t) return t;
                        throw new Error("Can not find element: " + Kn(n))
                    }
                    function Se(n) {
                        return new H((function(e, t) {
                            var r = Kn(n),
                                o = xe(n);
                            if (o) return e(o);
                            if (me()) return t(new Error("Document is ready and element " + r + " does not exist"));
                            var i = setInterval((function() {
                                return (o = xe(n)) ? (e(o), void clearInterval(i)) : me() ? (clearInterval(i), t(new Error("Document is ready and element " + r + " does not exist"))) : void 0
                            }), 10)
                        }))
                    }
                    Mn((function() {
                        return new H((function(n) {
                            if (me() || ye()) return n();
                            var e = setInterval((function() {
                                if (me() || ye()) return clearInterval(e),
                                    n()
                            }), 10)
                        }))
                    }));
                    var _e, Pe = function(n) {
                        function e() {
                            return n.apply(this, arguments) || this
                        }
                        return _(e, n),
                            e
                    } (he);
                    function Be(n, e) {
                        var t = (e = e || {}).closeOnUnload,
                            r = void 0 === t ? 1 : t,
                            o = e.name,
                            i = void 0 === o ? "": o,
                            a = e.width,
                            u = e.height,
                            l = 0,
                            s = 0;
                        a && (window.outerWidth ? s = Math.round((window.outerWidth - a) / 2) + window.screenX: window.screen.width && (s = Math.round((window.screen.width - a) / 2))),
                        u && (window.outerHeight ? l = Math.round((window.outerHeight - u) / 2) + window.screenY: window.screen.height && (l = Math.round((window.screen.height - u) / 2))),
                            delete e.closeOnUnload,
                            delete e.name,
                        a && u && (e = P({
                                top: l,
                                left: s,
                                width: a,
                                height: u,
                                status: 1,
                                toolbar: 0,
                                menubar: 0,
                                resizable: 1,
                                scrollbars: 1
                            },
                            e));
                        var c, d, p = Object.keys(e).map((function(n) {
                            if (null != e[n]) return n + "=" + Kn(e[n])
                        })).filter(Boolean).join(",");
                        try {
                            c = window.open(n, i, p)
                        } catch(d) {
                            throw new Pe("Can not open popup window - " + (d.stack || d.message))
                        }
                        if (sn(c)) throw new Pe("Can not open popup window - blocked");
                        return r && (window.addEventListener("pagehide", (function() {
                            return c.close()
                        })), window.addEventListener("unload", (function() {
                            return c.close()
                        })), window.addEventListener("beforeunload", (function() {
                            return c.close()
                        }))),
                            c
                    }
                    function Fe(n, e) {
                        var t = e.tagName.toLowerCase();
                        if ("html" !== t) throw new Error("Expected element to be html, got " + t);
                        for (var r = n.document.documentElement,
                                 o = 0,
                                 i = ie(r.children); o < i.length; o++) r.removeChild(i[o]);
                        for (var a = 0,
                                 u = ie(e.children); a < u.length; a++) r.appendChild(u[a])
                    }
                    function ke(n) {
                        if ((_e = _e || new An).has(n)) {
                            var e = _e.get(n);
                            if (e) return e
                        }
                        var t = new H((function(e, t) {
                            n.addEventListener("load", (function() { (function(n) {
                                if (function() {
                                    for (var n = 0; n < un.length; n++) {
                                        var e = !1;
                                        try {
                                            e = un[n].closed
                                        } catch(n) {}
                                        e && (ln.splice(n, 1), un.splice(n, 1))
                                    }
                                } (), n && n.contentWindow) try {
                                    un.push(n.contentWindow),
                                        ln.push(n)
                                } catch(n) {}
                            })(n),
                                e(n)
                            })),
                                n.addEventListener("error", (function(r) {
                                    n.contentWindow ? e(n) : t(r)
                                }))
                        }));
                        return _e.set(n, t),
                            t
                    }
                    function De(n) {
                        return ke(n).then((function(n) {
                            if (!n.contentWindow) throw new Error("Could not find window in iframe");
                            return n.contentWindow
                        }))
                    }
                    function Ie(n, e) {
                        void 0 === n && (n = {});
                        var t = n.style || {},
                            r = function(n, e, t) {
                                void 0 === n && (n = "div"),
                                void 0 === e && (e = {}),
                                    n = n.toLowerCase();
                                var r, o, i, a = document.createElement(n);
                                if (e.style && Zn(a.style, e.style), e.class && (a.className = e.class.join(" ")), e.id && a.setAttribute("id", e.id), e.attributes) for (var u = 0,
                                                                                                                                                                              l = Object.keys(e.attributes); u < l.length; u++) {
                                    var s = l[u];
                                    a.setAttribute(s, e.attributes[s])
                                }
                                if (e.styleSheet && (r = a, o = e.styleSheet, void 0 === i && (i = window.document), r.styleSheet ? r.styleSheet.cssText = o: r.appendChild(i.createTextNode(o))), e.html) {
                                    if ("iframe" === n) throw new Error("Iframe html can not be written unless container provided and iframe in DOM");
                                    a.innerHTML = e.html
                                }
                                return a
                            } ("iframe", {
                                attributes: P({
                                        allowTransparency: "true"
                                    },
                                    n.attributes || {}),
                                style: P({
                                        backgroundColor: "transparent",
                                        border: "none"
                                    },
                                    t),
                                html: n.html,
                                class: n.class
                            }),
                            o = window.navigator.userAgent.match(/MSIE|Edge/i);
                        return r.hasAttribute("id") || r.setAttribute("id", Bn()),
                            ke(r),
                        e && Le(e).appendChild(r),
                        (n.url || o) && r.setAttribute("src", n.url || "about:blank"),
                            r
                    }
                    function Ue(n, e, t) {
                        return n.addEventListener(e, t),
                            {
                                cancel: function() {
                                    n.removeEventListener(e, t)
                                }
                            }
                    }
                    function Me(n, e, t) {
                        t = jn(t);
                        for (var r = 0; r < e.length; r++) n.addEventListener(e[r], t);
                        return {
                            cancel: jn((function() {
                                for (var r = 0; r < e.length; r++) n.removeEventListener(e[r], t)
                            }))
                        }
                    }
                    var qe = ["webkit", "moz", "ms", "o"],
                        He = ["animationstart", "webkitAnimationStart", "oAnimationStart", "MSAnimationStart"],
                        We = ["animationend", "webkitAnimationEnd", "oAnimationEnd", "MSAnimationEnd"];
                    function je(n, e, t, r) {
                        return void 0 === r && (r = 1e3),
                            new H((function(o, i) {
                                var a = Le(n);
                                if (!a) return o();
                                var u, l, s, c, d = !1;
                                function p() {
                                    clearTimeout(u),
                                        clearTimeout(l),
                                        s.cancel(),
                                        c.cancel()
                                }
                                s = Me(a, He, (function(n) {
                                    n.target === a && n.animationName === e && (clearTimeout(u), n.stopPropagation(), s.cancel(), d = !0, l = setTimeout((function() {
                                        p(),
                                            o()
                                    }), r))
                                })),
                                    c = Me(a, We, (function(n) {
                                        if (n.target === a && n.animationName === e) return p(),
                                            "string" == typeof n.animationName && n.animationName !== e ? i("Expected animation name to be " + e + ", found " + n.animationName) : o()
                                    })),
                                    function(n, e, t) {
                                        n.style[e] = t;
                                        for (var r = re(e), o = 0; o < qe.length; o++) n.style["" + qe[o] + r] = t
                                    } (a, "animationName", e),
                                    u = setTimeout((function() {
                                        if (!d) return p(),
                                            o()
                                    }), 200),
                                t && t(p)
                            }))
                    }
                    function ze(n) {
                        n.style.setProperty("display", "")
                    }
                    function Ke(n) {
                        n.style.setProperty("display", "none", "important")
                    }
                    function Ze(n) {
                        n && n.parentNode && n.parentNode.removeChild(n)
                    }
                    function Ve(n) {
                        return ! (n && n.parentNode && n.ownerDocument && n.ownerDocument.documentElement && n.ownerDocument.documentElement.contains(n))
                    }
                    function Ye(n, e, t) {
                        var r = void 0 === t ? {}: t,
                            o = r.width,
                            i = void 0 === o || o,
                            a = r.height,
                            u = void 0 === a || a,
                            l = r.interval,
                            s = void 0 === l ? 100 : l,
                            c = r.win,
                            d = void 0 === c ? window: c,
                            p = n.offsetWidth,
                            f = n.offsetHeight,
                            h = !1;
                        e({
                            width: p,
                            height: f
                        });
                        var g, m, y = function() {
                            if (!h &&
                                function(n) {
                                    return Boolean(n.offsetWidth || n.offsetHeight || n.getClientRects().length)
                                } (n)) {
                                var t = n.offsetWidth,
                                    r = n.offsetHeight; (i && t !== p || u && r !== f) && e({
                                    width: t,
                                    height: r
                                }),
                                    p = t,
                                    f = r
                            }
                        };
                        return d.addEventListener("resize", y),
                            void 0 !== d.ResizeObserver ? ((g = new d.ResizeObserver(y)).observe(n), m = ne(y, 10 * s)) : void 0 !== d.MutationObserver ? ((g = new d.MutationObserver(y)).observe(n, {
                                attributes: !0,
                                childList: !0,
                                subtree: !0,
                                characterData: !1
                            }), m = ne(y, 10 * s)) : m = ne(y, s),
                            {
                                cancel: function() {
                                    h = !0,
                                        g.disconnect(),
                                        window.removeEventListener("resize", y),
                                        m.cancel()
                                }
                            }
                    }
                    function Ge(n) {
                        for (; n.parentNode;) n = n.parentNode;
                        return "[object ShadowRoot]" === n.toString()
                    }
                    var Xe = "undefined" != typeof document ? document.currentScript: null,
                        Je = Mn((function() {
                            if (Xe) return Xe;
                            if (Xe = function() {
                                try {
                                    var n = function() {
                                            try {
                                                throw new Error("_")
                                            } catch(n) {
                                                return n.stack || ""
                                            }
                                        } (),
                                        e = /.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(n),
                                        t = e && e[1];
                                    if (!t) return;
                                    for (var r = 0,
                                             o = [].slice.call(document.getElementsByTagName("script")).reverse(); r < o.length; r++) {
                                        var i = o[r];
                                        if (i.src && i.src === t) return i
                                    }
                                } catch(n) {}
                            } ()) return Xe;
                            throw new Error("Can not determine current script")
                        })),
                        $e = Bn(),
                        Qe = Mn((function() {
                            var n;
                            try {
                                n = Je()
                            } catch(n) {
                                return $e
                            }
                            var e = n.getAttribute("data-uid");
                            if (e && "string" == typeof e) return e;
                            if ((e = n.getAttribute("data-uid-auto")) && "string" == typeof e) return e;
                            if (n.src) {
                                var t = function(n) {
                                    for (var e = "",
                                             t = 0; t < n.length; t++) {
                                        var r = n[t].charCodeAt(0) * t;
                                        n[t + 1] && (r += n[t + 1].charCodeAt(0) * (t - 1)),
                                            e += String.fromCharCode(97 + Math.abs(r) % 26)
                                    }
                                    return e
                                } (JSON.stringify({
                                    src: n.src,
                                    dataset: n.dataset
                                }));
                                e = "uid_" + t.slice(t.length - 30)
                            } else e = Bn();
                            return n.setAttribute("data-uid-auto", e),
                                e
                        }));
                    function nt(n) {
                        var e = n.name,
                            t = n.lifetime,
                            r = void 0 === t ? 12e5: t,
                            o = n.stickySessionId;
                        return Hn(nt, (function() {
                            var n, t = "__" + e + "_storage__",
                                i = Bn();
                            function a(e) {
                                var r, o = Ce();
                                if (n && (r = n), !r && o) {
                                    var a = window.localStorage.getItem(t);
                                    a && (r = JSON.parse(a))
                                }
                                r || (r = Fn()[t]),
                                r || (r = {
                                    id: i
                                }),
                                r.id || (r.id = i),
                                    n = r;
                                var u = e(r);
                                return o ? window.localStorage.setItem(t, JSON.stringify(r)) : Fn()[t] = r,
                                    n = null,
                                    u
                            }
                            function u() {
                                return a((function(n) {
                                    return n.id
                                }))
                            }
                            function l(n) {
                                return a((function(e) {
                                    var t = e.__session__,
                                        i = Date.now();
                                    return t && i - t.created > r && (t = null),
                                    t || (t = {
                                        guid: o || Bn(),
                                        created: i
                                    }),
                                        e.__session__ = t,
                                        n(t)
                                }))
                            }
                            return {
                                getState: a,
                                getID: u,
                                isStateFresh: function() {
                                    return u() === i
                                },
                                getSessionState: function(n) {
                                    return l((function(e) {
                                        return e.state = e.state || {},
                                            n(e.state)
                                    }))
                                },
                                getSessionID: function() {
                                    return l((function(n) {
                                        return n.guid
                                    }))
                                }
                            }
                        }), [{
                            name: e,
                            lifetime: r
                        }])
                    }
                    var et = [];
                    function tt(n) {
                        var e = n.url,
                            t = n.method,
                            r = void 0 === t ? "get": t,
                            o = n.headers,
                            i = void 0 === o ? {}: o,
                            a = n.json,
                            u = n.data,
                            l = n.body,
                            s = n.win,
                            c = void 0 === s ? window: s,
                            d = n.timeout,
                            p = void 0 === d ? 0 : d;
                        return new H((function(n, t) {
                            if (a && u || a && l || u && a) throw new Error("Only options.json or options.data or options.body should be passed");
                            for (var o = {},
                                     s = 0,
                                     d = Object.keys(i); s < d.length; s++) {
                                var f = d[s];
                                o[f.toLowerCase()] = i[f]
                            }
                            a ? o["content-type"] = o["content-type"] || "application/json": (u || l) && (o["content-type"] = o["content-type"] || "application/x-www-form-urlencoded; charset=utf-8"),
                                o.accept = o.accept || "application/json";
                            for (var h = 0; h < et.length; h++) for (var g = (0, et[h])(), m = 0, y = Object.keys(g); m < y.length; m++) {
                                var v = y[m];
                                o[v.toLowerCase()] = g[v]
                            }
                            var w = new c.XMLHttpRequest;
                            for (var b in w.addEventListener("load", (function() {
                                var o = function(n) {
                                    void 0 === n && (n = "");
                                    for (var e = {},
                                             t = 0,
                                             r = n.trim().split("\n"); t < r.length; t++) {
                                        var o = r[t].split(":"),
                                            i = o[0],
                                            a = o.slice(1);
                                        e[i.toLowerCase()] = a.join(":").trim()
                                    }
                                    return e
                                } (this.getAllResponseHeaders());
                                if (!this.status) return t(new Error("Request to " + r.toLowerCase() + " " + e + " failed: no response status code."));
                                var i = o["content-type"],
                                    a = i && (0 === i.indexOf("application/json") || 0 === i.indexOf("text/json")),
                                    u = this.responseText;
                                try {
                                    u = JSON.parse(u)
                                } catch(n) {
                                    if (a) return t(new Error("Invalid json: " + this.responseText + "."))
                                }
                                return n({
                                    status: this.status,
                                    headers: o,
                                    body: u
                                })
                            }), !1), w.addEventListener("error", (function(n) {
                                t(new Error("Request to " + r.toLowerCase() + " " + e + " failed: " + n.toString() + "."))
                            }), !1), w.open(r, e, !0), o) o.hasOwnProperty(b) && w.setRequestHeader(b, o[b]);
                            a ? l = JSON.stringify(a) : u && (l = Object.keys(u).map((function(n) {
                                return encodeURIComponent(n) + "=" + (u ? encodeURIComponent(u[n]) : "")
                            })).join("&")),
                                w.timeout = p,
                                w.ontimeout = function() {
                                    t(new Error("Request to " + r.toLowerCase() + " " + e + " has timed out"))
                                },
                                w.send(l)
                        }))
                    }
                    function rt(n) {
                        return "string" == typeof n && /^[0-9]+%$/.test(n)
                    }
                    function ot(n) {
                        if ("number" == typeof n) return n;
                        var e = n.match(/^([0-9]+)(px|%)$/);
                        if (!e) throw new Error("Could not match css value from " + n);
                        return parseInt(e[1], 10)
                    }
                    function it(n) {
                        return ot(n) + "px"
                    }
                    function at(n) {
                        return "number" == typeof n ? it(n) : rt(n) ? n: it(n)
                    }
                    function ut(n, e) {
                        if ("number" == typeof n) return n;
                        if (rt(n)) return function(n, e) {
                            return parseInt(n * ot(e) / 100, 10)
                        } (e, n);
                        if ("string" == typeof(t = n) && /^[0-9]+px$/.test(t)) return ot(n);
                        var t;
                        throw new Error("Can not normalize dimension: " + n)
                    }
                    var lt = {
                            PAYPAL: "paypal",
                            VENMO: "venmo",
                            APPLEPAY: "applepay",
                            ITAU: "itau",
                            CREDIT: "credit",
                            PAYLATER: "paylater",
                            CARD: "card",
                            IDEAL: "ideal",
                            SEPA: "sepa",
                            BANCONTACT: "bancontact",
                            GIROPAY: "giropay",
                            SOFORT: "sofort",
                            EPS: "eps",
                            MYBANK: "mybank",
                            P24: "p24",
                            PAYU: "payu",
                            BLIK: "blik",
                            TRUSTLY: "trustly",
                            OXXO: "oxxo",
                            BOLETO: "boleto",
                            BOLETOBANCARIO: "boletobancario",
                            WECHATPAY: "wechatpay",
                            MERCADOPAGO: "mercadopago",
                            MULTIBANCO: "multibanco",
                            SATISPAY: "satispay",
                            PAIDY: "paidy",
                            ZIMPLER: "zimpler",
                            MAXIMA: "maxima"
                        },
                        st = [lt.IDEAL, lt.BANCONTACT, lt.GIROPAY, lt.SOFORT, lt.EPS, lt.MYBANK, lt.P24, lt.PAYU, lt.BLIK, lt.TRUSTLY, lt.OXXO, lt.BOLETO, lt.BOLETOBANCARIO, lt.WECHATPAY, lt.MERCADOPAGO, lt.MULTIBANCO, lt.SATISPAY, lt.PAIDY, lt.MAXIMA, lt.ZIMPLER],
                        ct = {
                            AD: "AD",
                            AE: "AE",
                            AG: "AG",
                            AI: "AI",
                            AL: "AL",
                            AM: "AM",
                            AN: "AN",
                            AO: "AO",
                            AR: "AR",
                            AT: "AT",
                            AU: "AU",
                            AW: "AW",
                            AZ: "AZ",
                            BA: "BA",
                            BB: "BB",
                            BE: "BE",
                            BF: "BF",
                            BG: "BG",
                            BH: "BH",
                            BI: "BI",
                            BJ: "BJ",
                            BM: "BM",
                            BN: "BN",
                            BO: "BO",
                            BR: "BR",
                            BS: "BS",
                            BT: "BT",
                            BW: "BW",
                            BY: "BY",
                            BZ: "BZ",
                            CA: "CA",
                            CD: "CD",
                            CG: "CG",
                            CH: "CH",
                            CI: "CI",
                            CK: "CK",
                            CL: "CL",
                            CM: "CM",
                            CN: "CN",
                            CO: "CO",
                            CR: "CR",
                            CV: "CV",
                            CY: "CY",
                            CZ: "CZ",
                            DE: "DE",
                            DJ: "DJ",
                            DK: "DK",
                            DM: "DM",
                            DO: "DO",
                            DZ: "DZ",
                            EC: "EC",
                            EE: "EE",
                            EG: "EG",
                            ER: "ER",
                            ES: "ES",
                            ET: "ET",
                            FI: "FI",
                            FJ: "FJ",
                            FK: "FK",
                            FM: "FM",
                            FO: "FO",
                            FR: "FR",
                            GA: "GA",
                            GB: "GB",
                            GD: "GD",
                            GE: "GE",
                            GF: "GF",
                            GI: "GI",
                            GL: "GL",
                            GM: "GM",
                            GN: "GN",
                            GP: "GP",
                            GR: "GR",
                            GT: "GT",
                            GW: "GW",
                            GY: "GY",
                            HK: "HK",
                            HN: "HN",
                            HR: "HR",
                            HU: "HU",
                            ID: "ID",
                            IE: "IE",
                            IL: "IL",
                            IN: "IN",
                            IS: "IS",
                            IT: "IT",
                            JM: "JM",
                            JO: "JO",
                            JP: "JP",
                            KE: "KE",
                            KG: "KG",
                            KH: "KH",
                            KI: "KI",
                            KM: "KM",
                            KN: "KN",
                            KR: "KR",
                            KW: "KW",
                            KY: "KY",
                            KZ: "KZ",
                            LA: "LA",
                            LC: "LC",
                            LI: "LI",
                            LK: "LK",
                            LS: "LS",
                            LT: "LT",
                            LU: "LU",
                            LV: "LV",
                            MA: "MA",
                            MC: "MC",
                            MD: "MD",
                            ME: "ME",
                            MG: "MG",
                            MH: "MH",
                            MK: "MK",
                            ML: "ML",
                            MN: "MN",
                            MQ: "MQ",
                            MR: "MR",
                            MS: "MS",
                            MT: "MT",
                            MU: "MU",
                            MV: "MV",
                            MW: "MW",
                            MX: "MX",
                            MY: "MY",
                            MZ: "MZ",
                            NA: "NA",
                            NC: "NC",
                            NE: "NE",
                            NF: "NF",
                            NG: "NG",
                            NI: "NI",
                            NL: "NL",
                            NO: "NO",
                            NP: "NP",
                            NR: "NR",
                            NU: "NU",
                            NZ: "NZ",
                            OM: "OM",
                            PA: "PA",
                            PE: "PE",
                            PF: "PF",
                            PG: "PG",
                            PH: "PH",
                            PL: "PL",
                            PM: "PM",
                            PN: "PN",
                            PT: "PT",
                            PW: "PW",
                            PY: "PY",
                            QA: "QA",
                            RE: "RE",
                            RO: "RO",
                            RS: "RS",
                            RU: "RU",
                            RW: "RW",
                            SA: "SA",
                            SB: "SB",
                            SC: "SC",
                            SE: "SE",
                            SG: "SG",
                            SH: "SH",
                            SI: "SI",
                            SJ: "SJ",
                            SK: "SK",
                            SL: "SL",
                            SM: "SM",
                            SN: "SN",
                            SO: "SO",
                            SR: "SR",
                            ST: "ST",
                            SV: "SV",
                            SZ: "SZ",
                            TC: "TC",
                            TD: "TD",
                            TG: "TG",
                            TH: "TH",
                            TJ: "TJ",
                            TM: "TM",
                            TN: "TN",
                            TO: "TO",
                            TR: "TR",
                            TT: "TT",
                            TV: "TV",
                            TW: "TW",
                            TZ: "TZ",
                            UA: "UA",
                            UG: "UG",
                            US: "US",
                            UY: "UY",
                            VA: "VA",
                            VC: "VC",
                            VE: "VE",
                            VG: "VG",
                            VN: "VN",
                            VU: "VU",
                            WF: "WF",
                            WS: "WS",
                            YE: "YE",
                            YT: "YT",
                            ZA: "ZA",
                            ZM: "ZM",
                            ZW: "ZW"
                        },
                        dt = {
                            AR: "ar",
                            BG: "bg",
                            CS: "cs",
                            DA: "da",
                            DE: "de",
                            EL: "el",
                            EN: "en",
                            ES: "es",
                            ET: "et",
                            FI: "fi",
                            FR: "fr",
                            HE: "he",
                            HU: "hu",
                            ID: "id",
                            IT: "it",
                            JA: "ja",
                            KO: "ko",
                            LT: "lt",
                            LV: "lv",
                            MS: "ms",
                            NL: "nl",
                            NO: "no",
                            PL: "pl",
                            PT: "pt",
                            RO: "ro",
                            RU: "ru",
                            SI: "si",
                            SK: "sk",
                            SL: "sl",
                            SQ: "sq",
                            SV: "sv",
                            TH: "th",
                            TL: "tl",
                            TR: "tr",
                            VI: "vi",
                            ZH: "zh",
                            ZH_HANT: "zh_Hant"
                        },
                        pt = {
                            AD: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            AE: [dt.EN, dt.FR, dt.ES, dt.ZH, dt.AR],
                            AG: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            AI: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            AL: [dt.SQ, dt.EN],
                            AM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            AN: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            AO: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            AR: [dt.ES, dt.EN],
                            AT: [dt.DE, dt.EN],
                            AU: [dt.EN],
                            AW: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            AZ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            BA: [dt.EN],
                            BB: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            BE: [dt.EN, dt.NL, dt.FR],
                            BF: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            BG: [dt.BG, dt.EN],
                            BH: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            BI: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            BJ: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            BM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            BN: [dt.MS, dt.EN],
                            BO: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            BR: [dt.PT, dt.EN],
                            BS: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            BT: [dt.EN],
                            BW: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            BY: [dt.EN],
                            BZ: [dt.EN, dt.ES, dt.FR, dt.ZH],
                            CA: [dt.EN, dt.FR],
                            CD: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            CG: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            CH: [dt.DE, dt.FR, dt.EN],
                            CI: [dt.FR, dt.EN],
                            CK: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            CL: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            CM: [dt.FR, dt.EN],
                            CN: [dt.ZH],
                            CO: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            CR: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            CV: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            CY: [dt.EN],
                            CZ: [dt.CS, dt.EN],
                            DE: [dt.DE, dt.EN],
                            DJ: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            DK: [dt.DA, dt.EN],
                            DM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            DO: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            DZ: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            EC: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            EE: [dt.ET, dt.EN, dt.RU],
                            EG: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            ER: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            ES: [dt.ES, dt.EN],
                            ET: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            FI: [dt.FI, dt.EN],
                            FJ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            FK: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            FM: [dt.EN],
                            FO: [dt.DA, dt.EN, dt.FR, dt.ES, dt.ZH],
                            FR: [dt.FR, dt.EN],
                            GA: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            GB: [dt.EN],
                            GD: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            GE: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            GF: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            GI: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            GL: [dt.DA, dt.EN, dt.FR, dt.ES, dt.ZH],
                            GM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            GN: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            GP: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            GR: [dt.EL, dt.EN],
                            GT: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            GW: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            GY: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            HK: [dt.EN, dt.ZH_HANT, dt.ZH],
                            HN: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            HR: [dt.EN],
                            HU: [dt.HU, dt.EN],
                            ID: [dt.ID, dt.EN],
                            IE: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            IL: [dt.HE, dt.EN],
                            IN: [dt.EN],
                            IS: [dt.EN],
                            IT: [dt.IT, dt.EN],
                            JM: [dt.EN, dt.ES, dt.FR, dt.ZH],
                            JO: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            JP: [dt.JA, dt.EN],
                            KE: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            KG: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            KH: [dt.EN],
                            KI: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            KM: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            KN: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            KR: [dt.KO, dt.EN],
                            KW: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            KY: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            KZ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            LA: [dt.EN],
                            LC: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            LI: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            LK: [dt.SI, dt.EN],
                            LS: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            LT: [dt.LT, dt.EN, dt.RU, dt.ZH],
                            LU: [dt.EN, dt.DE, dt.FR, dt.ES, dt.ZH],
                            LV: [dt.LV, dt.EN, dt.RU],
                            MA: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            MC: [dt.FR, dt.EN],
                            MD: [dt.EN],
                            ME: [dt.EN],
                            MG: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            MH: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            MK: [dt.EN],
                            ML: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            MN: [dt.EN],
                            MQ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            MR: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            MS: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            MT: [dt.EN],
                            MU: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            MV: [dt.EN],
                            MW: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            MX: [dt.ES, dt.EN],
                            MY: [dt.MS, dt.EN],
                            MZ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            NA: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            NC: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            NE: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            NF: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            NG: [dt.EN],
                            NI: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            NL: [dt.NL, dt.EN],
                            NO: [dt.NO, dt.EN],
                            NP: [dt.EN],
                            NR: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            NU: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            NZ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            OM: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            PA: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            PE: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            PF: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            PG: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            PH: [dt.TL, dt.EN],
                            PL: [dt.PL, dt.EN],
                            PM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            PN: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            PT: [dt.PT, dt.EN],
                            PW: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            PY: [dt.ES, dt.EN],
                            QA: [dt.EN, dt.FR, dt.ES, dt.ZH, dt.AR],
                            RE: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            RO: [dt.RO, dt.EN],
                            RS: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            RU: [dt.RU, dt.EN],
                            RW: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            SA: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            SB: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            SC: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            SE: [dt.SV, dt.EN],
                            SG: [dt.EN],
                            SH: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            SI: [dt.SL, dt.EN],
                            SJ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            SK: [dt.SK, dt.EN],
                            SL: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            SM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            SN: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            SO: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            SR: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            ST: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            SV: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            SZ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            TC: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            TD: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            TG: [dt.FR, dt.EN, dt.ES, dt.ZH],
                            TH: [dt.TH, dt.EN],
                            TJ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            TM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            TN: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            TO: [dt.EN],
                            TR: [dt.TR, dt.EN],
                            TT: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            TV: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            TW: [dt.ZH_HANT, dt.ZH, dt.EN],
                            TZ: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            UA: [dt.EN, dt.RU, dt.FR, dt.ES, dt.ZH],
                            UG: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            US: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            UY: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            VA: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            VC: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            VE: [dt.ES, dt.EN, dt.FR, dt.ZH],
                            VG: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            VN: [dt.VI, dt.EN],
                            VU: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            WF: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            WS: [dt.EN],
                            YE: [dt.AR, dt.EN, dt.FR, dt.ES, dt.ZH],
                            YT: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            ZA: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            ZM: [dt.EN, dt.FR, dt.ES, dt.ZH],
                            ZW: [dt.EN]
                        },
                        ft = {
                            AMOUNT: "data-amount",
                            API_STAGE_HOST: "data-api-stage-host",
                            CLIENT_METADATA_ID: "data-client-metadata-id",
                            CLIENT_TOKEN: "data-client-token",
                            CSP_NONCE: "data-csp-nonce",
                            ENABLE_3DS: "data-enable-3ds",
                            JS_SDK_LIBRARY: "data-js-sdk-library",
                            MERCHANT_ID: "data-merchant-id",
                            NAMESPACE: "data-namespace",
                            PAGE_TYPE: "data-page-type",
                            PARTNER_ATTRIBUTION_ID: "data-partner-attribution-id",
                            POPUPS_DISABLED: "data-popups-disabled",
                            SDK_INTEGRATION_SOURCE: "data-sdk-integration-source",
                            SDK_TOKEN: "data-sdk-client-token",
                            SHOPPER_SESSION_ID: "data-shopper-session-id",
                            STAGE_HOST: "data-stage-host",
                            USER_EXPERIENCE_FLOW: "data-user-experience-flow",
                            USER_ID_TOKEN: "data-user-id-token"
                        },
                        ht = ft,
                        gt = {
                            HOME: "home",
                            PRODUCT: "product",
                            CART: "cart",
                            CHECKOUT: "checkout",
                            PRODUCT_LISTING: "product-listing",
                            SEARCH_RESULTS: "search-results",
                            PRODUCT_DETAILS: "product-details",
                            MINI_CART: "mini-cart"
                        },
                        mt = {
                            LOCAL: "local",
                            STAGE: "stage",
                            SANDBOX: "sandbox",
                            PRODUCTION: "production",
                            TEST: "test"
                        },
                        yt = {
                            sdk_platform: "web",
                            major_version: "5"
                        },
                        vt = {
                            DESKTOP: "desktop",
                            MOBILE: "mobile"
                        };
                    function wt() {
                        return "sandbox"
                    }
                    function bt() {}
                    function Et() {}
                    function Tt() {
                        return "5.0.515"
                    }
                    function At() {
                        return "f66161203a030"
                    }
                    function Ot() {
                        return ! 1
                    }
                    function Ct() {
                        return ["buttons", "card-fields"]
                    }
                    function Rt() {
                        return __FUNDING_ELIGIBILITY__
                    }
                    function Nt() {
                        return d() ? vt.MOBILE: vt.DESKTOP
                    }
                    function xt() {
                        return ! 0
                    }
                    function Lt() {
                        return {}
                    }
                    var St = "AZDxjDScFpQtjWTOUtWKbyN_bDt4OgqaF4eYXlewfBP4-8aqX3PiV8e1GWU6liB2CUXlkA59kJXE7M6R",
                        _t = {
                            sandbox: St,
                            sb: St,
                            test: St
                        },
                        Pt = Mn((function() {
                            try {
                                return Je()
                            } catch(n) {
                                throw function(n, e, t) {
                                    var r = t ? zn(t) : "";
                                    return new Error('PayPal Payments SDK script not found on page! Expected to find <script src="https://www.sandbox.paypal.com/sdk/js">\n\n' + r)
                                } (0, 0, n)
                            }
                        })),
                        Bt = Mn((function() {
                            for (var n = {},
                                     e = 0,
                                     t = Pt().attributes; e < t.length; e++) {
                                var r = t[e];
                                0 === r.name.indexOf("data-") && (n[r.name] = r.value)
                            }
                            return n["data-uid"] = Qe(),
                                n
                        }));
                    function Ft(n, e) {
                        return Bt()[n] || e
                    }
                    var kt = function(n, e) {
                        return be(Pt().src.split("?")[1] || "")[n] || e
                    };
                    function Dt(n, e) {
                        return "true" === kt(n, e ? e.toString() : "false")
                    }
                    function It() {
                        var n = kt("client-id");
                        if (!n) throw new Error("Expected client-id parameter in sdk url");
                        return _t[n] ? _t[n] : n
                    }
                    function Ut() {
                        var n = kt("merchant-id");
                        if ("*" === n) {
                            var e = Ft(ht.MERCHANT_ID);
                            if (!e) throw new Error("Must pass " + ht.MERCHANT_ID + " when merchant-id=* passed in url");
                            var t = e.split(",");
                            if (t.length <= 1) throw new Error("Must pass multiple merchant ids to " + ht.MERCHANT_ID + ". If passing a single id, pass merchant-id=XYZ in url");
                            if (t.some((function(n, e) {
                                return t && t.indexOf(n) !== e
                            }))) throw new Error("Duplicates " + ht.MERCHANT_ID + ". Must pass unique merchant ids to " + ht.MERCHANT_ID + ".");
                            return t
                        }
                        return n ? n.split(",") : []
                    }
                    function Mt() {
                        return kt("intent", "capture")
                    }
                    function qt() {
                        return Dt("commit", (Mt(), !0))
                    }
                    function Ht() {
                        return Dt("vault", !1)
                    }
                    function Wt() {
                        return kt("currency", "USD")
                    }
                    function jt() {
                        var n = kt("enable-funding");
                        return n ? n.split(",") : []
                    }
                    function zt() {
                        var n = kt("disable-funding");
                        return n ? n.split(",") : []
                    }
                    function Kt() {
                        var n = kt("disable-card");
                        return n ? n.split(",") : []
                    }
                    function Zt() {
                        return kt("buyer-country")
                    }
                    function Vt() {
                        return Ft(ht.NAMESPACE) || "paypal"
                    }
                    function Yt() {
                        return Ft(ht.CLIENT_TOKEN)
                    }
                    function Gt() {
                        var n = Ft(ht.AMOUNT);
                        if (n && !n.match(/^\d+\.\d\d$/)) throw new Error("Invalid amount: " + n);
                        return n
                    }
                    function Xt() {
                        var n = Yt();
                        if (n) return JSON.parse(Pn(n)).paypal.accessToken
                    }
                    function Jt() {
                        return Ft(ht.PARTNER_ATTRIBUTION_ID)
                    }
                    function $t() {
                        return "true" === Ft(ht.POPUPS_DISABLED)
                    }
                    function Qt() {
                        var n = kt("locale");
                        if (n) return function(n) {
                            var e = n.split("_"),
                                t = e[0],
                                r = e[1];
                            t = dt[t.toUpperCase()];
                            var o = pt[r = ct[r]];
                            return o && -1 !== o.indexOf(dt.ZH_HANT) && t === dt.ZH && (t = dt.ZH_HANT),
                                {
                                    lang: t,
                                    country: r
                                }
                        } (n);
                        for (var e = function(n, e) {
                                var t = e[n],
                                    r = t.country,
                                    o = t.lang;
                                if (r = r && ct[r], o = o && dt[o.toUpperCase()], r && o && pt[r] && -1 !== pt[r].indexOf(o)) return {
                                    v: {
                                        country: r,
                                        lang: o
                                    }
                                };
                                if (o) {
                                    var i = Object.keys(pt).filter((function(n) {
                                        return pt[n].some((function(n) {
                                            return n === o
                                        }))
                                    }));
                                    if (1 === i.length) return {
                                        v: {
                                            country: i[0],
                                            lang: o
                                        }
                                    }
                                }
                            },
                                 t = 0, r = Re(); t < r.length; t++) {
                            var o = e(t, r);
                            if ("object" == typeof o) return o.v
                        }
                        for (var i = 0,
                                 a = Re(); i < a.length; i++) {
                            var u = a[i].country;
                            if (pt.hasOwnProperty(u)) return {
                                country: u,
                                lang: pt[u][0]
                            }
                        }
                        return {
                            lang: dt.EN,
                            country: ct.US
                        }
                    }
                    function nr() {
                        return Ft(ht.CSP_NONCE) || ""
                    }
                    function er() {
                        return Bt().hasOwnProperty(ht.ENABLE_3DS)
                    }
                    function tr() {
                        return Ft(ht.SDK_INTEGRATION_SOURCE)
                    }
                    function rr() {
                        return Ft(ht.JS_SDK_LIBRARY)
                    }
                    function or() {
                        return Ft(ht.USER_EXPERIENCE_FLOW)
                    }
                    function ir() {
                        return Ft(ht.SDK_TOKEN) && !Ft(ht.USER_ID_TOKEN) ? Ft(ht.SDK_TOKEN) : Ft(ht.USER_ID_TOKEN)
                    }
                    function ar() {
                        if (Ft(ht.SDK_TOKEN) && Ft(ht.USER_ID_TOKEN)) throw new Error("Do not pass SDK token and ID token");
                        return Ft(ht.SDK_TOKEN)
                    }
                    var ur = Mn((function(n) {
                        try {
                            if (n && "function" == typeof atob) {
                                var e = JSON.parse(window.atob(n.split(".")[1])).options;
                                return (void 0 === e ? {}: e).customer_id || ""
                            }
                            return ""
                        } catch(n) {
                            throw new Error("Error decoding SDK token")
                        }
                    }));
                    function lr() {
                        var n = Ft(ht.SDK_TOKEN) || "";
                        return ur(n)
                    }
                    function sr() {
                        return Ft(ht.SHOPPER_SESSION_ID) || ""
                    }
                    var cr = ["warn", "error"],
                        dr = ["error", "warn", "info", "debug"],
                        pr = function(n, e) {
                            for (var t in e) e.hasOwnProperty(t) && (n[t] = e[t])
                        };
                    function fr() {
                        return "sandbox" === mt.LOCAL ? /.*loca.*/: /\.paypal\.(com|cn)(:\d+)?$/
                    }
                    function hr() {
                        return Boolean($().match(fr()))
                    }
                    var gr, mr = Mn((function() {
                        return function(n) {
                            var e = n.url,
                                t = n.prefix,
                                r = n.metricNamespacePrefix,
                                o = n.logLevel,
                                i = void 0 === o ? "warn": o,
                                a = n.transport,
                                u = void 0 === a ?
                                    function(n) {
                                        var e = n.url,
                                            t = n.method,
                                            r = n.headers,
                                            o = n.json,
                                            i = n.enableSendBeacon,
                                            a = void 0 !== i && i;
                                        return H.
                                        try ((function() {
                                            var n = window,
                                                i = Q(n) ? nn(n) : window,
                                                u = !1;
                                            return function(n) {
                                                var e = n.headers,
                                                    t = n.enableSendBeacon,
                                                    r = e && Object.keys(e).length;
                                                return !! (window && window.navigator.sendBeacon && !r && t && window.Blob)
                                            } ({
                                                headers: r,
                                                enableSendBeacon: a
                                            }) && (u = function(n) {
                                                var e = n.win,
                                                    t = void 0 === e ? window: e,
                                                    r = n.url,
                                                    o = n.data,
                                                    i = n.useBlob,
                                                    a = void 0 === i || i;
                                                try {
                                                    var u = JSON.stringify(o);
                                                    if (!t.navigator.sendBeacon) throw new Error("No sendBeacon available");
                                                    if (a) {
                                                        var l = new Blob([u], {
                                                            type: "application/json"
                                                        });
                                                        return t.navigator.sendBeacon(r, l)
                                                    }
                                                    return t.navigator.sendBeacon(r, u)
                                                } catch(n) {
                                                    return ! 1
                                                }
                                            } ({
                                                win: i,
                                                url: e,
                                                data: o,
                                                useBlob: !0
                                            })),
                                            u || tt({
                                                win: i,
                                                url: e,
                                                method: t,
                                                headers: r,
                                                json: o
                                            })
                                        })).then(Wn)
                                    }: a,
                                l = n.flushInterval,
                                s = void 0 === l ? 6e4: l,
                                c = n.enableSendBeacon,
                                d = void 0 !== c && c,
                                p = [],
                                f = [],
                                h = [],
                                g = [],
                                m = [],
                                y = [],
                                v = [],
                                w = [];
                            function b(n, e, t) {
                                if (Oe() && window.console && window.console.log && !(dr.indexOf(n) > dr.indexOf(i))) {
                                    var r = [e];
                                    r.push(t),
                                    (t.error || t.warning) && r.push("\n\n", t.error || t.warning);
                                    try {
                                        window.console[n] && window.console[n].apply ? window.console[n].apply(window.console, r) : window.console.log && window.console.log.apply && window.console.log.apply(window.console, r)
                                    } catch(n) {}
                                }
                            }
                            function E() {
                                return H.
                                try ((function() {
                                    if (Oe() && "file:" !== window.location.protocol && (p.length || f.length || h.length)) {
                                        for (var n = {},
                                                 t = 0; t < m.length; t++) pr(n, (0, m[t])(n));
                                        for (var r, o = {},
                                                 i = 0; i < w.length; i++) pr(o, (0, w[i])(o));
                                        return e && (r = u({
                                            method: "POST",
                                            url: e,
                                            headers: o,
                                            json: {
                                                events: p,
                                                meta: n,
                                                tracking: f,
                                                metrics: h
                                            },
                                            enableSendBeacon: d
                                        }).
                                        catch(Wn)),
                                            p = [],
                                            f = [],
                                            h = [],
                                            H.resolve(r).then(Wn)
                                    }
                                }))
                            }
                            var T, A, O, C, R = (void 0 === A && (A = 50), Sn((function() {
                                C && clearTimeout(C);
                                var n = O = O || new H;
                                return C = setTimeout((function() {
                                    O = null,
                                        C = null,
                                        H.
                                        try (T).then((function(e) {
                                            n.resolve(e)
                                        }), (function(e) {
                                            n.reject(e)
                                        }))
                                }), A),
                                    n
                            }), Ln(T = E) + "::promiseDebounced"));
                            function N(n, e, r) {
                                if (void 0 === r && (r = {}), !Oe()) return S;
                                t && (e = t + "_" + e);
                                for (var o = P({},
                                    $n(r), {
                                        timestamp: Date.now().toString()
                                    }), i = 0; i < g.length; i++) pr(o, (0, g[i])(o));
                                return function(n, e, t) {
                                    p.push({
                                        level: n,
                                        event: e,
                                        payload: t
                                    }),
                                    -1 !== cr.indexOf(n) && R()
                                } (n, e, o),
                                    b(n, e, o),
                                    S
                            }
                            function x(n, e) {
                                return n.push(e),
                                    S
                            }
                            function L(n) {
                                if (!Oe()) return S;
                                r && (n.metricNamespace = r + "." + n.metricNamespace),
                                v.length > 0 && !n.dimensions && (n.dimensions = {});
                                for (var e = 0; e < v.length; e++) pr(n.dimensions || {},
                                    (0, v[e])(n.dimensions || {}));
                                return b("debug", "metric." + n.metricNamespace, n.dimensions || {}),
                                    h.push(n),
                                    S
                            }
                            Oe() && ne(R, s),
                            "object" == typeof window && (window.addEventListener("beforeunload", (function() {
                                E()
                            })), window.addEventListener("unload", (function() {
                                E()
                            })), window.addEventListener("pagehide", (function() {
                                E()
                            })));
                            var S = {
                                debug: function(n, e) {
                                    return N("debug", n, e)
                                },
                                info: function(n, e) {
                                    return N("info", n, e)
                                },
                                warn: function(n, e) {
                                    return N("warn", n, e)
                                },
                                error: function(n, e) {
                                    return N("error", n, e)
                                },
                                track: function(n) {
                                    if (void 0 === n && (n = {}), !Oe()) return S;
                                    for (var e = $n(n), t = 0; t < y.length; t++) pr(e, (0, y[t])(e));
                                    return b("debug", "track", e),
                                        f.push(e),
                                        S
                                },
                                metric: L,
                                metricCounter: function(n) {
                                    var e;
                                    return L({
                                        metricNamespace: n.namespace,
                                        metricEventName: n.event,
                                        metricValue: null != (e = n.value) ? e: 1,
                                        metricType: "counter",
                                        dimensions: n.dimensions
                                    })
                                },
                                metricGauge: function(n) {
                                    return L({
                                        metricNamespace: n.namespace,
                                        metricEventName: n.event,
                                        metricValue: n.value,
                                        metricType: "gauge",
                                        dimensions: n.dimensions
                                    })
                                },
                                metricHistogram: function(n) {
                                    return L({
                                        metricNamespace: n.namespace,
                                        metricEventName: n.event,
                                        metricValue: n.value,
                                        metricType: "histogram",
                                        dimensions: n.dimensions
                                    })
                                },
                                flush: R,
                                immediateFlush: E,
                                addPayloadBuilder: function(n) {
                                    return x(g, n)
                                },
                                addMetaBuilder: function(n) {
                                    return x(m, n)
                                },
                                addMetricDimensionBuilder: function(n) {
                                    return x(v, n)
                                },
                                addTrackingBuilder: function(n) {
                                    return x(y, n)
                                },
                                addHeaderBuilder: function(n) {
                                    return x(w, n)
                                },
                                setTransport: function(n) {
                                    return u = n,
                                        S
                                },
                                configure: function(n) {
                                    return n.url && (e = n.url),
                                    n.prefix && (t = n.prefix),
                                    n.logLevel && (i = n.logLevel),
                                    n.transport && (u = n.transport),
                                    n.flushInterval && (s = n.flushInterval),
                                    n.enableSendBeacon && (d = n.enableSendBeacon),
                                        S
                                },
                                __buffer__: {
                                    get events() {
                                        return p
                                    },
                                    get tracking() {
                                        return f
                                    },
                                    get metrics() {
                                        return h
                                    }
                                }
                            };
                            return Object.defineProperty(S, "__buffer__", {
                                writable: !1
                            }),
                                S
                        } ({
                            url: (void 0 === (n = "/xoplatform/logger/api/logger") && (n = ""), "https://www.sandbox.paypal.com" + n + "?disableSetCookie=true"),
                            metricNamespacePrefix: "pp.sdks.ppcp"
                        });
                        var n
                    }));
                    function yr(n) {
                        var e = function(n, e) {
                            if ("object" != typeof n || null === n) return n;
                            var t = n[Symbol.toPrimitive];
                            if (void 0 !== t) {
                                var r = t.call(n, "string");
                                if ("object" != typeof r) return r;
                                throw new TypeError("@@toPrimitive must return a primitive value.")
                            }
                            return String(n)
                        } (n);
                        return "symbol" == typeof e ? e: String(e)
                    }
                    function vr(n, e, t, r, o, i, a) {
                        try {
                            var u = n[i](a),
                                l = u.value
                        } catch(n) {
                            return void t(n)
                        }
                        u.done ? e(l) : Promise.resolve(l).then(r, o)
                    }
                    function wr(n) {
                        return function() {
                            var e = this,
                                t = arguments;
                            return new Promise((function(r, o) {
                                var i = n.apply(e, t);
                                function a(n) {
                                    vr(i, r, o, a, u, "next", n)
                                }
                                function u(n) {
                                    vr(i, r, o, a, u, "throw", n)
                                }
                                a(void 0)
                            }))
                        }
                    }
                    var br, Er = ((gr = {})[mt.LOCAL] = "https://cdn-latest.static.engineering.dev.paypalinc.com/qaRdaAssets/fraudnet/async/fb-raw.js", gr[mt.STAGE] = "https://cdn-latest.static.engineering.dev.paypalinc.com/qaRdaAssets/fraudnet/async/fb-raw.js", gr[mt.SANDBOX] = "https://c.paypal.com/da/r/fb.js", gr[mt.PRODUCTION] = "https://c.paypal.com/da/r/fb.js", gr[mt.TEST] = "https://c.paypal.com/da/r/fb.js", gr),
                        Tr = (Mn((function(n) {
                            var e = n.env,
                                t = n.cspNonce,
                                r = n.queryStringParams,
                                o = void 0 === r ? {}: r; !
                                function(n) {
                                    var e = n.env,
                                        t = n.cspNonce,
                                        r = void 0 === t ? "": t,
                                        o = n.clientMetadataID,
                                        i = n.appName;
                                    new H((function(n) {
                                        var t, a = {
                                            f: o,
                                            s: i,
                                            io: !0,
                                            cb1: "fnCallback"
                                        };
                                        e === mt.SANDBOX && (a.sandbox = !0);
                                        var u = document.createElement("script");
                                        u.setAttribute("nonce", r),
                                            u.setAttribute("type", "application/json"),
                                            u.setAttribute("id", "fconfig"),
                                            u.setAttribute("fncls", "fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99"),
                                            u.text = JSON.stringify(a),
                                        null == (t = document.body) || t.appendChild(u),
                                            n()
                                    }))
                                } ({
                                    env: e,
                                    cspNonce: t,
                                    clientMetadataID: n.clientMetadataID,
                                    appName: n.appName
                                });
                            var i, a = function(n) {
                                var e = n.cspNonce,
                                    t = n.env,
                                    r = n.queryStringParams,
                                    o = void 0 === r ? {}: r;
                                return new H((function(n, r) {
                                    var i, a = document.createElement("script"),
                                        u = Object.keys(o).map((function(n) {
                                            return n + "=" + encodeURIComponent(String(o[n]))
                                        })).join("&"),
                                        l = u.length ? Er[t] + "?" + u: Er[t];
                                    a.setAttribute("nonce", e || ""),
                                        a.setAttribute("src", l),
                                        window.fnCallback = n,
                                    null == (i = document.body) || i.appendChild(a),
                                        a.addEventListener("load", (function() {
                                            n()
                                        })),
                                        a.addEventListener("error", (function() {
                                            r(new Error("Fraudnet failed to load."))
                                        })),
                                        a.addEventListener("abort", (function() {
                                            r(new Error("Fraudnet load was aborted."))
                                        }))
                                }))
                            } ({
                                cspNonce: t,
                                env: e,
                                queryStringParams: o
                            }).
                            catch((function() {
                                mr().warn("ppcp_axo_init_fraudnet_failed")
                            }));
                            return {
                                collect: (i = wr((function * () {
                                    try {
                                        yield a,
                                            yield window.PAYPAL.asyncData.collect()
                                    } catch(n) {
                                        mr().warn("ppcp_axo_collect_fraudnet_failed")
                                    }
                                })),
                                    function() {
                                        return i.apply(this, arguments)
                                    })
                            }
                        })), [ft.AMOUNT, ft.MERCHANT_ID, ft.PARTNER_ATTRIBUTION_ID, ft.POPUPS_DISABLED, ft.ENABLE_3DS, ft.SDK_INTEGRATION_SOURCE, ft.CLIENT_METADATA_ID, "data-uid", ft.CSP_NONCE]);
                    function Ar() {
                        for (var n = function() {
                                var n = Pt().getAttribute("src");
                                if (!n) throw new Error("Can not find src for sdk script");
                                return n
                            } (), e = Bt(), t = {},
                                 r = 0, o = Object.keys(e); r < o.length; r++) {
                            var i = o[r]; - 1 !== Tr.indexOf(i) && (t[i] = e[i])
                        }
                        return _n(JSON.stringify({
                            url: n,
                            attrs: t
                        })).replace(/\=+$/, "")
                    }
                    function Or() {
                        return Ft(ft.CLIENT_METADATA_ID)
                    }
                    function Cr() {
                        return nt({
                            name: Vt(),
                            stickySessionId: Or() || ""
                        })
                    }
                    function Rr() {
                        return Cr().getSessionID()
                    }
                    function Nr(n) {
                        return Cr().getState(n)
                    }
                    function xr() {
                        return Cr().getID()
                    }
                    function Lr(n) {
                        return Cr().getSessionState(n)
                    }
                    function Sr() {
                        var n = !1;
                        return Lr((function(e) {
                            var t = e.shopperInsights;
                            n = Boolean((null == t ? void 0 : t.shopperInsightsIsMemberUsed) || (null == t ? void 0 : t.getRecommendedPaymentMethodsUsed))
                        })),
                            n
                    }
                    Mn((function(n) {
                        mr().info("rest_api_create_access_token");
                        var e, t = _n(n + ":");
                        return tt({
                            method: "post",
                            url: (e = "/v1/oauth2/token", void 0 === e && (e = ""), ("undefined" != typeof window && void 0 !== window.location && "https://www.sandbox.paypal.com" === $() ? "https://www.sandbox.paypal.com": "https://cors.api.sandbox.paypal.com") + e),
                            headers: {
                                Authorization: "Basic " + t
                            },
                            data: {
                                grant_type: "client_credentials"
                            }
                        }).then((function(e) {
                            var t = e.body;
                            if (t && "invalid_client" === t.error) throw new Error("Auth Api invalid client id: " + n + ":\n\n" + JSON.stringify(t, null, 4));
                            if (!t || !t.access_token) throw new Error("Auth Api response error:\n\n" + JSON.stringify(t, null, 4));
                            return t.access_token
                        }))
                    })),
                        Mn(ee);
                    var _r, Pr, Br, Fr, kr, Dr = {
                            alg: "RS256",
                            create: {
                                hash: "SHA-256",
                                modulusLength: 4096,
                                name: "RSASSA-PKCS1-v1_5",
                                publicExponent: new Uint8Array([1, 0, 1])
                            },
                            extractable: !1,
                            sign: {
                                hash: "SHA-256",
                                name: "RSASSA-PKCS1-v1_5"
                            },
                            usages: ["sign", "verify"]
                        },
                        Ir = (Pr = wr((function * () {
                            if (!_r) {
                                var n = Dr.create,
                                    e = Dr.extractable,
                                    t = Dr.usages,
                                    r = yield window.crypto.subtle.generateKey(n, e, t);
                                _r = _r || {
                                    publicKey: r.publicKey,
                                    privateKey: r.privateKey
                                }
                            }
                            return _r
                        })),
                            function() {
                                return Pr.apply(this, arguments)
                            }),
                        Ur = function(n) {
                            return new Uint8Array(n.split("").map((function(n) {
                                return n.charCodeAt(0)
                            })))
                        },
                        Mr = function(n) {
                            return String.fromCharCode.apply(String, n)
                        },
                        qr = function(n) {
                            return btoa(n).replace(/[=]+/g, "").replace(/\+/g, "-").replace(/\//g, "_")
                        },
                        Hr = (Br = wr((function * (n) {
                            var e = Ur(n),
                                t = yield window.crypto.subtle.digest("sha-256", e),
                                r = Mr(new Uint8Array(t));
                            return qr(r)
                        })),
                            function(n) {
                                return Br.apply(this, arguments)
                            }),
                        Wr = (Fr = wr((function * (n) {
                            var e = n.crv,
                                t = n.e,
                                r = n.kty,
                                o = n.n,
                                i = n.x,
                                a = n.y;
                            return yield Hr(JSON.stringify({
                                crv: e,
                                e: t,
                                kty: r,
                                n: o,
                                x: i,
                                y: a
                            }))
                        })),
                            function(n) {
                                return Fr.apply(this, arguments)
                            }),
                        jr = (kr = wr((function * (n) {
                            var e = n.accessToken,
                                t = n.method,
                                r = n.nonce,
                                o = n.publicKey,
                                i = n.privateKey,
                                a = n.uri,
                                u = yield window.crypto.subtle.exportKey("jwk", o),
                                l = qr(JSON.stringify({
                                    alg: Dr.alg,
                                    typ: "dpop+jwt",
                                    jwk: u
                                })),
                                s = {
                                    ath: e ? yield Hr(e) : void 0,
                                    cnf: {
                                        jkt: yield Wr(u)
                                    },
                                    htm: t,
                                    htu: a,
                                    iat: Math.floor(new Date / 1e3),
                                    jti: window.crypto.randomUUID(),
                                    nonce: r
                                },
                                c = qr(JSON.stringify(s)),
                                d = yield window.crypto.subtle.sign(Dr.sign, i, Ur(l + "." + c));
                            return l + "." + c + "." + qr(Mr(new Uint8Array(d)))
                        })),
                            function(n) {
                                return kr.apply(this, arguments)
                            });
                    function zr() {
                        var n, e, t, r, o, i, a, u, l;
                        Pt(),
                            n = mr(),
                            e = function() {
                                var n = Ft(ht.PAGE_TYPE, "");
                                if ( - 1 === Vn(gt).indexOf(n.toLowerCase()) && n.length) throw new Error("Invalid page type, '" + n + "'");
                                return n.toLowerCase()
                            } () || "none",
                            t = tr() || "none",
                            r = rr() || "none",
                            o = qt() ? "commit": "continue",
                            i = Qt(),
                            a = i.lang,
                            u = i.country,
                            l = Ut(),
                            br = Date.now(),
                            n.addPayloadBuilder((function() {
                                return {
                                    uid: Rr(),
                                    env: "sandbox",
                                    clientId: It(),
                                    csnwCorrelationId: "f66161203a030",
                                    referrer: window.location.host,
                                    version: "5.0.515",
                                    merchantId: l,
                                    sessionId: Rr(),
                                    userAction: o
                                }
                            })),
                            n.addTrackingBuilder((function() {
                                var n;
                                return (n = {}).client_id = It(),
                                    n.context_correlation_id = "f66161203a030",
                                    n.serverside_data_source = "checkout",
                                    n.feed_name = "payments_sdk",
                                    n.integration_identifier = It(),
                                    n.js_sdk_library = r,
                                    n.locale = a + "_" + u,
                                    n.pp_placement = e,
                                    n.bn_code = Jt(),
                                    n.referer_url = window.location.host,
                                    n.sdk_integration_source = t,
                                    n.sdk_name = "payments_sdk",
                                    n.sdk_version = "5.0.515",
                                    n.seller_id = l && l.toString(),
                                    n.page_session_id = Rr(),
                                    n.user_action = o,
                                    n.user_agent = window.navigator && window.navigator.userAgent,
                                    n
                            })),
                            n.addMetricDimensionBuilder((function() {
                                return yt
                            })),
                            H.onPossiblyUnhandledException((function(e) {
                                var t;
                                n.track(((t = {}).ext_error_code = "payments_sdk_error", t.ext_error_desc = function(n) {
                                    var e = "<unknown error: " + {}.toString.call(n) + ">";
                                    return n ? n instanceof Error ? n.message || e: "string" == typeof n.message && n.message || e: e
                                } (e), t)),
                                    n.error("paypal_js_sdk_v5_unhandled_exception", {
                                        err: zn(e)
                                    }),
                                    n.flush().
                                    catch(Wn)
                            })),
                            we().then((function() {
                                var i, l, s = Pt(),
                                    c = function(n) {
                                        var e = Ae();
                                        if (e && "function" == typeof e.getEntries) for (var t = e.getEntries(), r = 0; r < t.length; r++) {
                                            var o = t[r];
                                            if (o && o.name && 0 === o.name.indexOf(n) && "number" == typeof o.duration) return Math.floor(o.duration)
                                        }
                                    } (s.src),
                                    d = Ce(),
                                    p = hr() && window.xprops ? "paypal": "non_paypal";
                                n.addPayloadBuilder((function() {
                                    return {
                                        loadedInFrame: p
                                    }
                                })).addTrackingBuilder((function() {
                                    return {
                                        loaded_in_frame: p
                                    }
                                })).addMetricDimensionBuilder((function() {
                                    return {
                                        isPayPalDomain: Boolean(p).toString()
                                    }
                                })),
                                    l = 0 === c ? "sdk_client_cache_hit": "number" == typeof c ? "sdk_client_cache_miss": "sdk_client_cache_unknown";
                                var f = "number" == typeof c ? c: void 0;
                                n.info("paypal_js_sdk_v5_init", P({},
                                    function() {
                                        if (window.document.documentMode) try {
                                            var n = window.status;
                                            return window.status = "testIntranetMode",
                                            "testIntranetMode" === window.status && (window.status = n, !0)
                                        } catch(n) {
                                            return ! 1
                                        }
                                        return ! 1
                                    } () ? {
                                        ie_intranet_mode: !0
                                    }: {},
                                    {
                                        uidAttribute: s.hasAttribute("data-uid") ? "present": "missing",
                                        loadTime: f,
                                        cacheType: l,
                                        jsSdkLibrary: r,
                                        locale: a + "_" + u,
                                        integrationSource: t,
                                        localStorageEnabled: d
                                    })).track((i = {},
                                    i.transition_name = "process_js_sdk_init_client", i.event_name = "process_js_sdk_init_client", i.sdk_load_time = f, i.sdk_cache = l, i.local_storage_enabled = d, i)).metricCounter({
                                    namespace: "sdk_client.init.count",
                                    event: "init",
                                    dimensions: {
                                        components: ["buttons", "card-fields"].join(","),
                                        integrationSource: t,
                                        jsSdkLibrary: r,
                                        localStorageEnabled: d,
                                        pageType: e,
                                        token: Yt() ? "client-token": ir() ? "user-id-token": ar() ? "sdk-token": "none",
                                        userAction: o,
                                        version: "5.0.515"
                                    }
                                }).flush()
                            }))
                    }
                    function Kr() {
                        return "__post_robot_11_0_0___" + Qe()
                    }
                    function Zr(n) {
                        void 0 === n && (n = window);
                        var e = Kr();
                        return n !== window ? n[e] : n[e] = n[e] || {}
                    }
                    wr((function * (n) {
                        var e = n.accessToken,
                            t = n.method,
                            r = n.uri,
                            o = n.nonce,
                            i = yield Ir(),
                            a = i.privateKey,
                            u = i.publicKey;
                        return P({},
                            e && {
                                Authorization: "DPoP " + e
                            },
                            {
                                DPoP: yield jr({
                                    accessToken: e,
                                    method: t,
                                    uri: r,
                                    nonce: o,
                                    publicKey: u,
                                    privateKey: a
                                })
                            })
                    }));
                    var Vr = function() {
                        return {}
                    };
                    function Yr(n, e) {
                        return void 0 === n && (n = "store"),
                        void 0 === e && (e = Vr),
                            de(Zr(), n, (function() {
                                var n = e();
                                return {
                                    has: function(e) {
                                        return n.hasOwnProperty(e)
                                    },
                                    get: function(e, t) {
                                        return n.hasOwnProperty(e) ? n[e] : t
                                    },
                                    set: function(e, t) {
                                        return n[e] = t,
                                            t
                                    },
                                    del: function(e) {
                                        delete n[e]
                                    },
                                    getOrSet: function(e, t) {
                                        return de(n, e, t)
                                    },
                                    reset: function() {
                                        n = e()
                                    },
                                    keys: function() {
                                        return Object.keys(n)
                                    }
                                }
                            }))
                    }
                    var Gr, Xr = function() {};
                    function Jr() {
                        var n = Zr();
                        return n.WINDOW_WILDCARD = n.WINDOW_WILDCARD || new Xr,
                            n.WINDOW_WILDCARD
                    }
                    function $r(n, e) {
                        return void 0 === n && (n = "store"),
                        void 0 === e && (e = Vr),
                            Yr("windowStore").getOrSet(n, (function() {
                                var t = new An,
                                    r = function(n) {
                                        return t.getOrSet(n, e)
                                    };
                                return {
                                    has: function(e) {
                                        return r(e).hasOwnProperty(n)
                                    },
                                    get: function(e, t) {
                                        var o = r(e);
                                        return o.hasOwnProperty(n) ? o[n] : t
                                    },
                                    set: function(e, t) {
                                        return r(e)[n] = t,
                                            t
                                    },
                                    del: function(e) {
                                        delete r(e)[n]
                                    },
                                    getOrSet: function(e, t) {
                                        return de(r(e), n, t)
                                    }
                                }
                            }))
                    }
                    function Qr() {
                        return Yr("instance").getOrSet("instanceID", Bn)
                    }
                    function no(n, e) {
                        var t = e.domain,
                            r = $r("helloPromises"),
                            o = r.get(n);
                        o && o.resolve({
                            domain: t
                        });
                        var i = H.resolve({
                            domain: t
                        });
                        return r.set(n, i),
                            i
                    }
                    function eo(n, e) {
                        return (0, e.send)(n, "postrobot_hello", {
                                instanceID: Qr()
                            },
                            {
                                domain: "*",
                                timeout: -1
                            }).then((function(e) {
                            var t = e.origin,
                                r = e.data.instanceID;
                            return no(n, {
                                domain: t
                            }),
                                {
                                    win: n,
                                    domain: t,
                                    instanceID: r
                                }
                        }))
                    }
                    function to(n, e) {
                        var t = e.send;
                        return $r("windowInstanceIDPromises").getOrSet(n, (function() {
                            return eo(n, {
                                send: t
                            }).then((function(n) {
                                return n.instanceID
                            }))
                        }))
                    }
                    function ro(n) {
                        $r("knownWindows").set(n, !0)
                    }
                    function oo(n) {
                        return "object" == typeof n && null !== n && "string" == typeof n.__type__
                    }
                    function io(n) {
                        return void 0 === n ? "undefined": null === n ? "null": Array.isArray(n) ? "array": "function" == typeof n ? "function": "object" == typeof n ? n instanceof Error ? "error": "function" == typeof n.then ? "promise": "[object RegExp]" === {}.toString.call(n) ? "regex": "[object Date]" === {}.toString.call(n) ? "date": "object": "string" == typeof n ? "string": "number" == typeof n ? "number": "boolean" == typeof n ? "boolean": void 0
                    }
                    function ao(n, e) {
                        return {
                            __type__: n,
                            __val__: e
                        }
                    }
                    var uo, lo = ((Gr = {}).
                            function = function() {},
                            Gr.error = function(n) {
                                return ao("error", {
                                    message: n.message,
                                    stack: n.stack,
                                    code: n.code,
                                    data: n.data
                                })
                            },
                            Gr.promise = function() {},
                            Gr.regex = function(n) {
                                return ao("regex", n.source)
                            },
                            Gr.date = function(n) {
                                return ao("date", n.toJSON())
                            },
                            Gr.array = function(n) {
                                return n
                            },
                            Gr.object = function(n) {
                                return n
                            },
                            Gr.string = function(n) {
                                return n
                            },
                            Gr.number = function(n) {
                                return n
                            },
                            Gr.boolean = function(n) {
                                return n
                            },
                            Gr.null = function(n) {
                                return n
                            },
                            Gr[void 0] = function(n) {
                                return ao("undefined", n)
                            },
                            Gr),
                        so = {},
                        co = ((uo = {}).
                            function = function() {
                            throw new Error("Function serialization is not implemented; nothing to deserialize")
                        },
                            uo.error = function(n) {
                                var e = n.stack,
                                    t = n.code,
                                    r = n.data,
                                    o = new Error(n.message);
                                return o.code = t,
                                r && (o.data = r),
                                    o.stack = e + "\n\n" + o.stack,
                                    o
                            },
                            uo.promise = function() {
                                throw new Error("Promise serialization is not implemented; nothing to deserialize")
                            },
                            uo.regex = function(n) {
                                return new RegExp(n)
                            },
                            uo.date = function(n) {
                                return new Date(n)
                            },
                            uo.array = function(n) {
                                return n
                            },
                            uo.object = function(n) {
                                return n
                            },
                            uo.string = function(n) {
                                return n
                            },
                            uo.number = function(n) {
                                return n
                            },
                            uo.boolean = function(n) {
                                return n
                            },
                            uo.null = function(n) {
                                return n
                            },
                            uo[void 0] = function() {},
                            uo),
                        po = {};
                    function fo() {
                        for (var n = Yr("idToProxyWindow"), e = 0, t = n.keys(); e < t.length; e++) {
                            var r = t[e];
                            n.get(r).shouldClean() && n.del(r)
                        }
                    }
                    function ho(n, e) {
                        var t = e.send,
                            r = e.id,
                            o = void 0 === r ? Bn() : r,
                            i = n.then((function(n) {
                                if (Q(n)) return nn(n).name
                            })),
                            a = n.then((function(n) {
                                if (sn(n)) throw new Error("Window is closed, can not determine type");
                                return G(n) ? j.POPUP: j.IFRAME
                            }));
                        i.
                        catch(Wn),
                            a.
                            catch(Wn);
                        var u = function() {
                            return n.then((function(n) {
                                if (!sn(n)) return Q(n) ? nn(n).name: i
                            }))
                        };
                        return {
                            id: o,
                            getType: function() {
                                return a
                            },
                            getInstanceID: qn((function() {
                                return n.then((function(n) {
                                    return to(n, {
                                        send: t
                                    })
                                }))
                            })),
                            close: function() {
                                return n.then(bn)
                            },
                            getName: u,
                            focus: function() {
                                return n.then((function(n) {
                                    n.focus()
                                }))
                            },
                            isClosed: function() {
                                return n.then((function(n) {
                                    return sn(n)
                                }))
                            },
                            setLocation: function(e, t) {
                                return void 0 === t && (t = {}),
                                    n.then((function(n) {
                                        var r = window.location.protocol + "//" + window.location.host,
                                            o = t.method,
                                            i = void 0 === o ? "get": o,
                                            a = t.body;
                                        if (0 === e.indexOf("/")) e = "" + r + e;
                                        else if (!e.match(/^https?:\/\//) && 0 !== e.indexOf(r)) throw new Error("Expected url to be http or https url, or absolute path, got " + JSON.stringify(e));
                                        if ("post" === i) return u().then((function(n) {
                                            if (!n) throw new Error("Can not post to window without target name"); !
                                                function(n) {
                                                    var e = n.url,
                                                        t = n.target,
                                                        r = n.body,
                                                        o = n.method,
                                                        i = void 0 === o ? "post": o,
                                                        a = document.createElement("form");
                                                    if (a.setAttribute("target", t), a.setAttribute("method", i), a.setAttribute("action", e), a.style.display = "none", r) for (var u = 0,
                                                                                                                                                                                     l = Object.keys(r); u < l.length; u++) {
                                                        var s, c = l[u],
                                                            d = document.createElement("input");
                                                        d.setAttribute("name", c),
                                                            d.setAttribute("value", null == (s = r[c]) ? void 0 : s.toString()),
                                                            a.appendChild(d)
                                                    }
                                                    ge().appendChild(a),
                                                        a.submit(),
                                                        ge().removeChild(a)
                                                } ({
                                                    url: e,
                                                    target: n,
                                                    method: i,
                                                    body: a
                                                })
                                        }));
                                        if ("get" !== i) throw new Error("Unsupported method: " + i);
                                        if (Q(n)) try {
                                            if (n.location && "function" == typeof n.location.replace) return void n.location.replace(e)
                                        } catch(n) {}
                                        n.location = e
                                    }))
                            },
                            setName: function(e) {
                                return n.then((function(n) {
                                    var t = Q(n),
                                        r = wn(n);
                                    if (!t) throw new Error("Can not set name for cross-domain window: " + e);
                                    nn(n).name = e,
                                    r && r.setAttribute("name", e),
                                        i = H.resolve(e)
                                }))
                            }
                        }
                    }
                    new H((function(n) {
                        if (window.document && window.document.body) return n(window.document.body);
                        var e = setInterval((function() {
                            if (window.document && window.document.body) return clearInterval(e),
                                n(window.document.body)
                        }), 10)
                    }));
                    var go = function() {
                        function n(n) {
                            var e = n.send,
                                t = n.win,
                                r = n.serializedWindow;
                            this.id = void 0,
                                this.isProxyWindow = !0,
                                this.serializedWindow = void 0,
                                this.actualWindow = void 0,
                                this.actualWindowPromise = void 0,
                                this.send = void 0,
                                this.name = void 0,
                                this.actualWindowPromise = new H,
                                this.serializedWindow = r || ho(this.actualWindowPromise, {
                                    send: e
                                }),
                                Yr("idToProxyWindow").set(this.getID(), this),
                            t && this.setWindow(t, {
                                send: e
                            })
                        }
                        var e = n.prototype;
                        return e.getID = function() {
                            return this.serializedWindow.id
                        },
                            e.getType = function() {
                                return this.serializedWindow.getType()
                            },
                            e.isPopup = function() {
                                return this.getType().then((function(n) {
                                    return n === j.POPUP
                                }))
                            },
                            e.setLocation = function(n, e) {
                                var t = this;
                                return this.serializedWindow.setLocation(n, e).then((function() {
                                    return t
                                }))
                            },
                            e.getName = function() {
                                return this.serializedWindow.getName()
                            },
                            e.setName = function(n) {
                                var e = this;
                                return this.serializedWindow.setName(n).then((function() {
                                    return e
                                }))
                            },
                            e.close = function() {
                                var n = this;
                                return this.serializedWindow.close().then((function() {
                                    return n
                                }))
                            },
                            e.focus = function() {
                                var n = this,
                                    e = this.isPopup(),
                                    t = this.getName(),
                                    r = H.hash({
                                        isPopup: e,
                                        name: t
                                    }).then((function(n) {
                                        var e = n.name;
                                        n.isPopup && e && window.open("", e, "noopener")
                                    })),
                                    o = this.serializedWindow.focus();
                                return H.all([r, o]).then((function() {
                                    return n
                                }))
                            },
                            e.isClosed = function() {
                                return this.serializedWindow.isClosed()
                            },
                            e.getWindow = function() {
                                return this.actualWindow
                            },
                            e.setWindow = function(n, e) {
                                var t = e.send;
                                this.actualWindow = n,
                                    this.actualWindowPromise.resolve(this.actualWindow),
                                    this.serializedWindow = ho(this.actualWindowPromise, {
                                        send: t,
                                        id: this.getID()
                                    }),
                                    $r("winToProxyWindow").set(n, this)
                            },
                            e.awaitWindow = function() {
                                return this.actualWindowPromise
                            },
                            e.matchWindow = function(n, e) {
                                var t = this,
                                    r = e.send;
                                return H.
                                try ((function() {
                                    return t.actualWindow ? n === t.actualWindow: H.hash({
                                        proxyInstanceID: t.getInstanceID(),
                                        knownWindowInstanceID: to(n, {
                                            send: r
                                        })
                                    }).then((function(e) {
                                        var o = e.proxyInstanceID === e.knownWindowInstanceID;
                                        return o && t.setWindow(n, {
                                            send: r
                                        }),
                                            o
                                    }))
                                }))
                            },
                            e.unwrap = function() {
                                return this.actualWindow || this
                            },
                            e.getInstanceID = function() {
                                return this.serializedWindow.getInstanceID()
                            },
                            e.shouldClean = function() {
                                return Boolean(this.actualWindow && sn(this.actualWindow))
                            },
                            e.serialize = function() {
                                return this.serializedWindow
                            },
                            n.unwrap = function(e) {
                                return n.isProxyWindow(e) ? e.unwrap() : e
                            },
                            n.serialize = function(e, t) {
                                var r = t.send;
                                return fo(),
                                    n.toProxyWindow(e, {
                                        send: r
                                    }).serialize()
                            },
                            n.deserialize = function(e, t) {
                                var r = t.send;
                                return fo(),
                                Yr("idToProxyWindow").get(e.id) || new n({
                                    serializedWindow: e,
                                    send: r
                                })
                            },
                            n.isProxyWindow = function(n) {
                                return Boolean(n && !vn(n) && n.isProxyWindow)
                            },
                            n.toProxyWindow = function(e, t) {
                                var r = t.send;
                                if (fo(), n.isProxyWindow(e)) return e;
                                var o = e;
                                return $r("winToProxyWindow").get(o) || new n({
                                    win: o,
                                    send: r
                                })
                            },
                            n
                    } ();
                    function mo(n, e, t, r, o) {
                        var i = $r("methodStore"),
                            a = Yr("proxyWindowMethods");
                        go.isProxyWindow(r) ? a.set(n, {
                            val: e,
                            name: t,
                            domain: o,
                            source: r
                        }) : (a.del(n), i.getOrSet(r, (function() {
                            return {}
                        }))[n] = {
                            domain: o,
                            name: t,
                            val: e,
                            source: r
                        })
                    }
                    function yo(n, e) {
                        var t = $r("methodStore"),
                            r = Yr("proxyWindowMethods");
                        return t.getOrSet(n, (function() {
                            return {}
                        }))[e] || r.get(e)
                    }
                    function vo(n, e, t, r, o) { !
                        function(n) {
                            var e = n.on,
                                t = n.send;
                            Yr("builtinListeners").getOrSet("functionCalls", (function() {
                                return e("postrobot_method", {
                                        domain: "*"
                                    },
                                    (function(n) {
                                        var e = n.source,
                                            r = n.origin,
                                            o = n.data,
                                            i = o.id,
                                            a = o.name,
                                            u = yo(e, i);
                                        if (!u) throw new Error("Could not find method '" + a + "' with id: " + o.id + " in " + $(window));
                                        var l = u.source,
                                            s = u.domain,
                                            c = u.val;
                                        return H.
                                        try ((function() {
                                            if (!gn(s, r)) throw new Error("Method '" + o.name + "' domain " + JSON.stringify(ce(u.domain) ? u.domain.source: u.domain) + " does not match origin " + r + " in " + $(window));
                                            if (go.isProxyWindow(l)) return l.matchWindow(e, {
                                                send: t
                                            }).then((function(n) {
                                                if (!n) throw new Error("Method call '" + o.name + "' failed - proxy window does not match source in " + $(window))
                                            }))
                                        })).then((function() {
                                            return c.apply({
                                                    source: e,
                                                    origin: r
                                                },
                                                o.args)
                                        }), (function(n) {
                                            return H.
                                            try ((function() {
                                                if (c.onError) return c.onError(n)
                                            })).then((function() {
                                                var e;
                                                throw n.stack && (n.stack = "Remote call to " + a + "(" + (void 0 === (e = o.args) && (e = []), ie(e).map((function(n) {
                                                    return "string" == typeof n ? "'" + n + "'": void 0 === n ? "undefined": null === n ? "null": "boolean" == typeof n ? n.toString() : Array.isArray(n) ? "[ ... ]": "object" == typeof n ? "{ ... }": "function" == typeof n ? "() => { ... }": "<" + typeof n + ">"
                                                })).join(", ") + ") failed\n\n") + n.stack),
                                                    n
                                            }))
                                        })).then((function(n) {
                                            return {
                                                result: n,
                                                id: i,
                                                name: a
                                            }
                                        }))
                                    }))
                            }))
                        } ({
                            on: o.on,
                            send: o.send
                        });
                        var i = t.__id__ || Bn();
                        n = go.unwrap(n);
                        var a = t.__name__ || t.name || r;
                        return "string" == typeof a && "function" == typeof a.indexOf && 0 === a.indexOf("anonymous::") && (a = a.replace("anonymous::", r + "::")),
                            go.isProxyWindow(n) ? (mo(i, t, a, n, e), n.awaitWindow().then((function(n) {
                                mo(i, t, a, n, e)
                            }))) : mo(i, t, a, n, e),
                            ao("cross_domain_function", {
                                id: i,
                                name: a
                            })
                    }
                    function wo(n, e, t, r) {
                        var o, i = r.on,
                            a = r.send;
                        return function(n, e) {
                            void 0 === e && (e = so);
                            var t = JSON.stringify(n, (function(n) {
                                var t = this[n];
                                if (oo(this)) return t;
                                var r = io(t);
                                if (!r) return t;
                                var o = e[r] || lo[r];
                                return o ? o(t, n) : t
                            }));
                            return void 0 === t ? "undefined": t
                        } (t, ((o = {}).promise = function(t, r) {
                            return function(n, e, t, r, o) {
                                return ao("cross_domain_zalgo_promise", {
                                    then: vo(n, e, (function(n, e) {
                                        return t.then(n, e)
                                    }), r, {
                                        on: o.on,
                                        send: o.send
                                    })
                                })
                            } (n, e, t, r, {
                                on: i,
                                send: a
                            })
                        },
                            o.
                                function = function(t, r) {
                                return vo(n, e, t, r, {
                                    on: i,
                                    send: a
                                })
                            },
                            o.object = function(n) {
                                return vn(n) || go.isProxyWindow(n) ? ao("cross_domain_window", go.serialize(n, {
                                    send: a
                                })) : n
                            },
                            o))
                    }
                    function bo(n, e, t, r) {
                        var o, i = r.send;
                        return function(n, e) {
                            if (void 0 === e && (e = po), "undefined" !== n) return JSON.parse(n, (function(n, t) {
                                if (oo(this)) return t;
                                var r, o;
                                if (oo(t) ? (r = t.__type__, o = t.__val__) : (r = io(t), o = t), !r) return o;
                                var i = e[r] || co[r];
                                return i ? i(o, n) : o
                            }))
                        } (t, ((o = {}).cross_domain_zalgo_promise = function(n) {
                            return function(n, e, t) {
                                return new H(t.then)
                            } (0, 0, n)
                        },
                            o.cross_domain_function = function(t) {
                                return function(n, e, t, r) {
                                    var o = t.id,
                                        i = t.name,
                                        a = r.send,
                                        u = function(t) {
                                            function r() {
                                                var u = arguments;
                                                return go.toProxyWindow(n, {
                                                    send: a
                                                }).awaitWindow().then((function(n) {
                                                    var l = yo(n, o);
                                                    if (l && l.val !== r) return l.val.apply({
                                                            source: window,
                                                            origin: $()
                                                        },
                                                        u);
                                                    var s = [].slice.call(u);
                                                    return t.fireAndForget ? a(n, "postrobot_method", {
                                                            id: o,
                                                            name: i,
                                                            args: s
                                                        },
                                                        {
                                                            domain: e,
                                                            fireAndForget: !0
                                                        }) : a(n, "postrobot_method", {
                                                            id: o,
                                                            name: i,
                                                            args: s
                                                        },
                                                        {
                                                            domain: e,
                                                            fireAndForget: !1
                                                        }).then((function(n) {
                                                        return n.data.result
                                                    }))
                                                })).
                                                catch((function(n) {
                                                    throw n
                                                }))
                                            }
                                            return void 0 === t && (t = {}),
                                                r.__name__ = i,
                                                r.__origin__ = e,
                                                r.__source__ = n,
                                                r.__id__ = o,
                                                r.origin = e,
                                                r
                                        },
                                        l = u();
                                    return l.fireAndForget = u({
                                        fireAndForget: !0
                                    }),
                                        l
                                } (n, e, t, {
                                    send: i
                                })
                            },
                            o.cross_domain_window = function(n) {
                                return go.deserialize(n, {
                                    send: i
                                })
                            },
                            o))
                    }
                    var Eo = {};
                    function To(n, e, t, r) {
                        var o = r.on,
                            i = r.send;
                        return H.
                        try ((function() {
                            var r = $r().getOrSet(n, (function() {
                                return {}
                            }));
                            return r.buffer = r.buffer || [],
                                r.buffer.push(t),
                                r.flush = r.flush || H.flush().then((function() {
                                    if (sn(n)) throw new Error("Window is closed");
                                    var t = wo(n, e,
                                        function(n) {
                                            var e;
                                            return (e = {})[Kr()] = n,
                                                e
                                        } (r.buffer || []), {
                                            on: o,
                                            send: i
                                        });
                                    delete r.buffer;
                                    for (var a = Object.keys(Eo), u = [], l = 0; l < a.length; l++) {
                                        var s = a[l];
                                        try {
                                            Eo[s](n, t, e)
                                        } catch(n) {
                                            u.push(n)
                                        }
                                    }
                                    if (u.length === a.length) throw new Error("All post-robot messaging strategies failed:\n\n" + u.map((function(n, e) {
                                        return e + ". " + zn(n)
                                    })).join("\n\n"))
                                })),
                                r.flush.then((function() {
                                    delete r.flush
                                }))
                        })).then(Wn)
                    }
                    function Ao(n) {
                        return Yr("responseListeners").get(n)
                    }
                    function Oo(n) {
                        Yr("responseListeners").del(n)
                    }
                    function Co(n) {
                        return Yr("erroredResponseListeners").has(n)
                    }
                    function Ro(n) {
                        var e = n.name,
                            t = n.win,
                            r = n.domain,
                            o = $r("requestListeners");
                        if ("*" === t && (t = null), "*" === r && (r = null), !e) throw new Error("Name required to get request listener");
                        for (var i = 0,
                                 a = [t, Jr()]; i < a.length; i++) {
                            var u = a[i];
                            if (u) {
                                var l = o.get(u);
                                if (l) {
                                    var s = l[e];
                                    if (s) {
                                        if (r && "string" == typeof r) {
                                            if (s[r]) return s[r];
                                            if (s.__domain_regex__) for (var c = 0,
                                                                             d = s.__domain_regex__; c < d.length; c++) {
                                                var p = d[c],
                                                    f = p.listener;
                                                if (gn(p.regex, r)) return f
                                            }
                                        }
                                        if (s["*"]) return s["*"]
                                    }
                                }
                            }
                        }
                    }
                    function No(n, e, t, r) {
                        var o = r.on,
                            i = r.send,
                            a = Ro({
                                name: t.name,
                                win: n,
                                domain: e
                            }),
                            u = "postrobot_method" === t.name && t.data && "string" == typeof t.data.name ? t.data.name + "()": t.name;
                        function l(r, a, l) {
                            return H.flush().then((function() {
                                if (!t.fireAndForget && !sn(n)) try {
                                    return To(n, e, {
                                            id: Bn(),
                                            origin: $(window),
                                            type: "postrobot_message_response",
                                            hash: t.hash,
                                            name: t.name,
                                            ack: r,
                                            data: a,
                                            error: l
                                        },
                                        {
                                            on: o,
                                            send: i
                                        })
                                } catch(n) {
                                    throw new Error("Send response message failed for " + u + " in " + $() + "\n\n" + zn(n))
                                }
                            }))
                        }
                        return H.all([H.flush().then((function() {
                            if (!t.fireAndForget && !sn(n)) try {
                                return To(n, e, {
                                        id: Bn(),
                                        origin: $(window),
                                        type: "postrobot_message_ack",
                                        hash: t.hash,
                                        name: t.name
                                    },
                                    {
                                        on: o,
                                        send: i
                                    })
                            } catch(n) {
                                throw new Error("Send ack message failed for " + u + " in " + $() + "\n\n" + zn(n))
                            }
                        })), H.
                        try ((function() {
                            if (!a) throw new Error("No handler found for post message: " + t.name + " from " + e + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
                            return a.handler({
                                source: n,
                                origin: e,
                                data: t.data
                            })
                        })).then((function(n) {
                            return l("success", n)
                        }), (function(n) {
                            return l("error", null, n)
                        }))]).then(Wn).
                        catch((function(n) {
                            if (a && a.handleError) return a.handleError(n);
                            throw n
                        }))
                    }
                    function xo(n, e, t) {
                        if (!Co(t.hash)) {
                            var r = Ao(t.hash);
                            if (!r) throw new Error("No handler found for post message ack for message: " + t.name + " from " + e + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
                            try {
                                if (!gn(r.domain, e)) throw new Error("Ack origin " + e + " does not match domain " + r.domain.toString());
                                if (n !== r.win) throw new Error("Ack source does not match registered window")
                            } catch(n) {
                                r.promise.reject(n)
                            }
                            r.ack = !0
                        }
                    }
                    function Lo(n, e, t) {
                        if (!Co(t.hash)) {
                            var r, o = Ao(t.hash);
                            if (!o) throw new Error("No handler found for post message response for message: " + t.name + " from " + e + " in " + window.location.protocol + "//" + window.location.host + window.location.pathname);
                            if (!gn(o.domain, e)) throw new Error("Response origin " + e + " does not match domain " + (r = o.domain, Array.isArray(r) ? "(" + r.join(" | ") + ")": W(r) ? "RegExp(" + r.toString() + ")": r.toString()));
                            if (n !== o.win) throw new Error("Response source does not match registered window");
                            Oo(t.hash),
                                "error" === t.ack ? o.promise.reject(t.error) : "success" === t.ack && o.promise.resolve({
                                    source: n,
                                    origin: e,
                                    data: t.data
                                })
                        }
                    }
                    function So(n, e) {
                        var t = e.on,
                            r = e.send,
                            o = Yr("receivedMessages");
                        try {
                            if (!window || window.closed || !n.source) return
                        } catch(n) {
                            return
                        }
                        var i = n.source,
                            a = n.origin,
                            u = function(n, e, t, r) {
                                var o, i = r.on,
                                    a = r.send;
                                try {
                                    o = bo(e, t, n, {
                                        on: i,
                                        send: a
                                    })
                                } catch(n) {
                                    return
                                }
                                if (o && "object" == typeof o && null !== o) {
                                    var u = o[Kr()];
                                    if (Array.isArray(u)) return u
                                }
                            } (n.data, i, a, {
                                on: t,
                                send: r
                            });
                        if (u) {
                            ro(i);
                            for (var l = 0; l < u.length; l++) {
                                var s = u[l];
                                if (o.has(s.id)) return;
                                if (o.set(s.id, !0), sn(i) && !s.fireAndForget) return;
                                0 === s.origin.indexOf("file:") && (a = "file://");
                                try {
                                    "postrobot_message_request" === s.type ? No(i, a, s, {
                                        on: t,
                                        send: r
                                    }) : "postrobot_message_response" === s.type ? Lo(i, a, s) : "postrobot_message_ack" === s.type && xo(i, a, s)
                                } catch(n) {
                                    setTimeout((function() {
                                        throw n
                                    }), 0)
                                }
                            }
                        }
                    }
                    function _o(n, e, t) {
                        if (!n) throw new Error("Expected name");
                        if ("function" == typeof(e = e || {}) && (t = e, e = {}), !t) throw new Error("Expected handler");
                        var r = function n(e, t) {
                            var r = e.name,
                                o = e.win,
                                i = e.domain,
                                a = $r("requestListeners");
                            if (!r || "string" != typeof r) throw new Error("Name required to add request listener");
                            if (o && "*" !== o && go.isProxyWindow(o)) {
                                var u = o.awaitWindow().then((function(e) {
                                    return n({
                                            name: r,
                                            win: e,
                                            domain: i
                                        },
                                        t)
                                }));
                                return {
                                    cancel: function() {
                                        u.then((function(n) {
                                            return n.cancel()
                                        }), Wn)
                                    }
                                }
                            }
                            var l = o;
                            if (Array.isArray(l)) {
                                for (var s = [], c = 0, d = l; c < d.length; c++) s.push(n({
                                        name: r,
                                        domain: i,
                                        win: d[c]
                                    },
                                    t));
                                return {
                                    cancel: function() {
                                        for (var n = 0; n < s.length; n++) s[n].cancel()
                                    }
                                }
                            }
                            if (Array.isArray(i)) {
                                for (var p = [], f = 0, h = i; f < h.length; f++) p.push(n({
                                        name: r,
                                        win: l,
                                        domain: h[f]
                                    },
                                    t));
                                return {
                                    cancel: function() {
                                        for (var n = 0; n < p.length; n++) p[n].cancel()
                                    }
                                }
                            }
                            var g = Ro({
                                name: r,
                                win: l,
                                domain: i
                            });
                            l && "*" !== l || (l = Jr());
                            var m = (i = i || "*").toString();
                            if (g) throw l && i ? new Error("Request listener already exists for " + r + " on domain " + i.toString() + " for " + (l === Jr() ? "wildcard": "specified") + " window") : l ? new Error("Request listener already exists for " + r + " for " + (l === Jr() ? "wildcard": "specified") + " window") : i ? new Error("Request listener already exists for " + r + " on domain " + i.toString()) : new Error("Request listener already exists for " + r);
                            var y, v, w = a.getOrSet(l, (function() {
                                    return {}
                                })),
                                b = de(w, r, (function() {
                                    return {}
                                }));
                            return ce(i) ? (y = de(b, "__domain_regex__", (function() {
                                return []
                            }))).push(v = {
                                regex: i,
                                listener: t
                            }) : b[m] = t,
                                {
                                    cancel: function() {
                                        delete b[m],
                                        v && (y.splice(y.indexOf(v, 1)), y.length || delete b.__domain_regex__),
                                        Object.keys(b).length || delete w[r],
                                        l && !Object.keys(w).length && a.del(l)
                                    }
                                }
                        } ({
                                name: n,
                                win: e.window,
                                domain: e.domain || "*"
                            },
                            {
                                handler: t || e.handler,
                                handleError: e.errorHandler ||
                                    function(n) {
                                        throw n
                                    }
                            });
                        return {
                            cancel: function() {
                                r.cancel()
                            }
                        }
                    }
                    function Po(n, e, t) {
                        "function" == typeof(e = e || {}) && (t = e, e = {});
                        var r, o = new H;
                        return e.errorHandler = function(n) {
                            r.cancel(),
                                o.reject(n)
                        },
                            r = _o(n, e, (function(n) {
                                if (r.cancel(), o.resolve(n), t) return t(n)
                            })),
                            o.cancel = r.cancel,
                            o
                    }
                    Eo.postrobot_post_message = function(n, e, t) {
                        0 === t.indexOf("file:") && (t = "*"),
                            n.postMessage(e, t)
                    },
                        Eo.postrobot_global = function(n, e) {
                            if (!
                                function(n) {
                                    return (n = n || window).navigator.mockUserAgent || n.navigator.userAgent
                                } (window).match(/MSIE|rv:11|trident|edge\/12|edge\/13/i)) throw new Error("Global messaging not needed for browser");
                            if (!Q(n)) throw new Error("Post message through global disabled between different domain windows");
                            if (!1 !== hn(window, n)) throw new Error("Can only use global to communicate between two different windows, not between frames");
                            var t = Zr(n);
                            if (!t) throw new Error("Can not find postRobot global on foreign window");
                            t.receiveMessage({
                                source: window,
                                origin: $(),
                                data: e
                            })
                        };
                    var Bo = function n(e, t, r, o) {
                        var i = (o = o || {}).domain || "*",
                            a = o.timeout || -1,
                            u = o.timeout || 5e3,
                            l = o.fireAndForget || !1;
                        return go.toProxyWindow(e, {
                            send: n
                        }).awaitWindow().then((function(e) {
                            return H.
                            try ((function() {
                                if (function(n, e, t) {
                                    if (!n) throw new Error("Expected name");
                                    if (t && "string" != typeof t && !Array.isArray(t) && !ce(t)) throw new TypeError("Can not send " + n + ". Expected domain " + JSON.stringify(t) + " to be a string, array, or regex");
                                    if (sn(e)) throw new Error("Can not send " + n + ". Target window is closed")
                                } (t, e, i),
                                    function(n, e) {
                                        var t = dn(e);
                                        if (t) return t === n;
                                        if (e === n) return ! 1;
                                        if (on(e) === e) return ! 1;
                                        for (var r = 0,
                                                 o = tn(n); r < o.length; r++) if (o[r] === e) return ! 0;
                                        return ! 1
                                    } (window, e)) return function(n, e, t) {
                                    void 0 === e && (e = 5e3),
                                    void 0 === t && (t = "Window");
                                    var r = function(n) {
                                        return $r("helloPromises").getOrSet(n, (function() {
                                            return new H
                                        }))
                                    } (n);
                                    return - 1 !== e && (r = r.timeout(e, new Error(t + " did not load after " + e + "ms"))),
                                        r
                                } (e, u)
                            })).then((function(t) {
                                return function(n, e, t, r) {
                                    var o = r.send;
                                    return H.
                                    try ((function() {
                                        return "string" == typeof e ? e: H.
                                        try ((function() {
                                            return t || eo(n, {
                                                send: o
                                            }).then((function(n) {
                                                return n.domain
                                            }))
                                        })).then((function(n) {
                                            if (!gn(e, e)) throw new Error("Domain " + Kn(e) + " does not match " + Kn(e));
                                            return n
                                        }))
                                    }))
                                } (e, i, (void 0 === t ? {}: t).domain, {
                                    send: n
                                })
                            })).then((function(o) {
                                var i = o,
                                    u = "postrobot_method" === t && r && "string" == typeof r.name ? r.name + "()": t,
                                    s = new H,
                                    c = t + "_" + Bn();
                                if (!l) {
                                    var d = {
                                        name: t,
                                        win: e,
                                        domain: i,
                                        promise: s
                                    }; !
                                        function(n, e) {
                                            Yr("responseListeners").set(n, e)
                                        } (c, d);
                                    var p = $r("requestPromises").getOrSet(e, (function() {
                                        return []
                                    }));
                                    p.push(s),
                                        s.
                                        catch((function() { !
                                            function(n) {
                                                Yr("erroredResponseListeners").set(n, !0)
                                            } (c),
                                            Oo(c)
                                        }));
                                    var f = function(n) {
                                            return $r("knownWindows").get(n, !1)
                                        } (e) ? 1e4: 2e3,
                                        h = a,
                                        g = f,
                                        m = h,
                                        y = ne((function() {
                                            return sn(e) ? s.reject(new Error("Window closed for " + t + " before " + (d.ack ? "response": "ack"))) : d.cancelled ? s.reject(new Error("Response listener was cancelled for " + t)) : (g = Math.max(g - 500, 0), -1 !== m && (m = Math.max(m - 500, 0)), d.ack || 0 !== g ? 0 === m ? s.reject(new Error("No response for postMessage " + u + " in " + $() + " in " + h + "ms")) : void 0 : s.reject(new Error("No ack for postMessage " + u + " in " + $() + " in " + f + "ms")))
                                        }), 500);
                                    s.
                                    finally((function() {
                                        y.cancel(),
                                            p.splice(p.indexOf(s, 1))
                                    })).
                                    catch(Wn)
                                }
                                return To(e, i, {
                                        id: Bn(),
                                        origin: $(window),
                                        type: "postrobot_message_request",
                                        hash: c,
                                        name: t,
                                        data: r,
                                        fireAndForget: l
                                    },
                                    {
                                        on: _o,
                                        send: n
                                    }).then((function() {
                                    return l ? s.resolve() : s
                                }), (function(n) {
                                    throw new Error("Send request message failed for " + u + " in " + $() + "\n\n" + zn(n))
                                }))
                            }))
                        }))
                    };
                    function Fo(n, e, t) {
                        return wo(n, e, t, {
                            on: _o,
                            send: Bo
                        })
                    }
                    function ko(n, e, t) {
                        return bo(n, e, t, {
                            on: _o,
                            send: Bo
                        })
                    }
                    function Do(n) {
                        return new go({
                            send: Bo,
                            win: n
                        })
                    }
                    function Io(n) {
                        return go.toProxyWindow(n, {
                            send: Bo
                        })
                    }
                    function Uo() {
                        var n, e, t;
                        Zr().initialized || (Zr().initialized = !0,
                            function(n) {
                                var e = n.on,
                                    t = n.send,
                                    r = Zr();
                                r.receiveMessage = r.receiveMessage ||
                                    function(n) {
                                        return So(n, {
                                            on: e,
                                            send: t
                                        })
                                    }
                            } ({
                                on: _o,
                                send: Bo
                            }),
                            function(n) {
                                var e = n.on,
                                    t = n.send;
                                Yr().getOrSet("postMessageListener", (function() {
                                    return Ue(window, "message", (function(n) { !
                                        function(n, e) {
                                            var t = e.on,
                                                r = e.send;
                                            H.
                                            try ((function() {
                                                var e = n.source || n.sourceElement,
                                                    o = n.origin || n.originalEvent && n.originalEvent.origin,
                                                    i = n.data;
                                                if ("null" === o && (o = "file://"), e) {
                                                    if (!o) throw new Error("Post message did not have origin domain");
                                                    So({
                                                            source: e,
                                                            origin: o,
                                                            data: i
                                                        },
                                                        {
                                                            on: t,
                                                            send: r
                                                        })
                                                }
                                            }))
                                        } (n, {
                                            on: e,
                                            send: t
                                        })
                                    }))
                                }))
                            } ({
                                on: _o,
                                send: Bo
                            }), e = (n = {
                            on: _o,
                            send: Bo
                        }).on, t = n.send, Yr("builtinListeners").getOrSet("helloListener", (function() {
                            var n = function(n) {
                                    return (0, n.on)("postrobot_hello", {
                                            domain: "*"
                                        },
                                        (function(n) {
                                            return no(n.source, {
                                                domain: n.origin
                                            }),
                                                {
                                                    instanceID: Qr()
                                                }
                                        }))
                                } ({
                                    on: e
                                }),
                                r = dn();
                            return r && eo(r, {
                                send: t
                            }).
                            catch((function(n) {})),
                                n
                        })))
                    }
                    function Mo() {
                        var n, e; !
                            function() {
                                for (var n = Yr("responseListeners"), e = 0, t = n.keys(); e < t.length; e++) {
                                    var r = t[e],
                                        o = n.get(r);
                                    o && (o.cancelled = !0),
                                        n.del(r)
                                }
                            } (),
                        (n = Yr().get("postMessageListener")) && n.cancel(),
                            e = Kr(),
                            delete window[e]
                    }
                    var qo = !0;
                    function Ho(n) {
                        for (var e = 0,
                                 t = $r("requestPromises").get(n, []); e < t.length; e++) t[e].reject(new Error("Window " + (sn(n) ? "closed": "cleaned up") + " before response")).
                        catch(Wn)
                    }
                    function Wo() {
                        return "__zoid_10_4_0___" + Qe()
                    }
                    function jo(n) {
                        var e = Wo();
                        if (!Q(n)) throw new Error("Can not get global for window on different domain");
                        return n[e] || (n[e] = {}),
                            n[e]
                    }
                    function zo(n, e) {
                        try {
                            return e(jo(n))
                        } catch(n) {}
                    }
                    function Ko(n) {
                        return {
                            get: function() {
                                var e = this;
                                return H.
                                try ((function() {
                                    if (e.source && e.source !== window) throw new Error("Can not call get on proxy object from a remote window");
                                    return n
                                }))
                            }
                        }
                    }
                    function Zo(n) {
                        return _n(JSON.stringify(n))
                    }
                    function Vo(n) {
                        var e = jo(n);
                        return e.references = e.references || {},
                            e.references
                    }
                    function Yo(n) {
                        var e, t, r = n.data,
                            o = n.metaData,
                            i = n.sender,
                            a = n.receiver,
                            u = n.passByReference,
                            l = void 0 !== u && u,
                            s = n.basic,
                            c = void 0 !== s && s,
                            d = Io(a.win),
                            p = c ? JSON.stringify(r) : Fo(d, a.domain, r),
                            f = l ? (e = p, t = Bn(), Vo(window)[t] = e, {
                                type: "uid",
                                uid: t
                            }) : function(n) {
                                return {
                                    type: "raw",
                                    val: n
                                }
                            } (p);
                        return {
                            serializedData: Zo({
                                sender: {
                                    domain: i.domain
                                },
                                metaData: o,
                                reference: f
                            }),
                            cleanReference: function() {
                                var n, e;
                                n = window,
                                "uid" === (e = f).type && delete Vo(n)[e.uid]
                            }
                        }
                    }
                    function Go(n) {
                        var e, t, r = n.sender,
                            o = n.basic,
                            i = void 0 !== o && o,
                            a = function(n) {
                                return JSON.parse(Pn(n))
                            } (n.data),
                            u = a.reference,
                            l = a.metaData;
                        e = "function" == typeof r.win ? r.win({
                            metaData: l
                        }) : r.win,
                            t = "function" == typeof r.domain ? r.domain({
                                metaData: l
                            }) : "string" == typeof r.domain ? r.domain: a.sender.domain;
                        var s = function(n, e) {
                            if ("raw" === e.type) return e.val;
                            if ("uid" === e.type) return Vo(n)[e.uid];
                            throw new Error("Unsupported ref type: " + e.type)
                        } (e, u);
                        return {
                            data: i ? JSON.parse(s) : ko(e, t, s),
                            metaData: l,
                            sender: {
                                win: e,
                                domain: t
                            },
                            reference: u
                        }
                    }
                    Uo();
                    var Xo = {
                            NAVIGATED_AWAY: "Window navigated away",
                            COMPONENT_DESTROYED: "Component destroyed",
                            COMPONENT_CLOSED: "Component closed",
                            WINDOW_CLOSED: "Detected component window close",
                            IFRAME_CLOSE: "Detected iframe close"
                        },
                        Jo = j;
                    function $o(n) {
                        return "__zoid__" + n.name + "__" + n.serializedPayload + "__"
                    }
                    function Qo(n) {
                        if (!n) throw new Error("No window name");
                        var e = n.split("__"),
                            t = e[1],
                            r = e[2],
                            o = e[3];
                        if ("zoid" !== t) throw new Error("Window not rendered by zoid - got " + t);
                        if (!r) throw new Error("Expected component name");
                        if (!o) throw new Error("Expected serialized payload ref");
                        return {
                            name: r,
                            serializedInitialPayload: o
                        }
                    }
                    var ni = Mn((function(n) {
                        var e = Go({
                            data: Qo(n).serializedInitialPayload,
                            sender: {
                                win: function(n) {
                                    return function(n) {
                                        if ("opener" === n.type) return fe("opener", G(window));
                                        if ("parent" === n.type && "number" == typeof n.distance) return fe("parent", (e = window, void 0 === (t = n.distance) && (t = 1),
                                            function(n, e) {
                                                void 0 === e && (e = 1);
                                                for (var t = n,
                                                         r = 0; r < e; r++) {
                                                    if (!t) return;
                                                    t = Y(t)
                                                }
                                                return t
                                            } (e, fn(e) - t)));
                                        var e, t;
                                        if ("global" === n.type && n.uid && "string" == typeof n.uid) {
                                            var r = function() {
                                                var e = n.uid,
                                                    t = dn(window);
                                                if (!t) throw new Error("Can not find ancestor window");
                                                for (var r = 0,
                                                         o = an(t); r < o.length; r++) {
                                                    var i = o[r];
                                                    if (Q(i)) {
                                                        var a = zo(i, (function(n) {
                                                            return n.windows && n.windows[e]
                                                        }));
                                                        if (a) return {
                                                            v: a
                                                        }
                                                    }
                                                }
                                            } ();
                                            if ("object" == typeof r) return r.v
                                        } else if ("name" === n.type) {
                                            var o = n.name;
                                            return fe("namedWindow",
                                                function(n, e) {
                                                    return cn(n, e) ||
                                                        function n(e, t) {
                                                            var r = cn(e, t);
                                                            if (r) return r;
                                                            for (var o = 0,
                                                                     i = tn(e); o < i.length; o++) {
                                                                var a = n(i[o], t);
                                                                if (a) return a
                                                            }
                                                        } (on(n) || n, e)
                                                } (fe("ancestor", dn(window)), o))
                                        }
                                        throw new Error("Unable to find " + n.type + " parent component window")
                                    } (n.metaData.windowRef)
                                }
                            }
                        });
                        return {
                            parent: e.sender,
                            payload: e.data,
                            reference: e.reference
                        }
                    }));
                    function ei() {
                        return ni(window.name)
                    }
                    function ti(n, e) {
                        if (void 0 === e && (e = window), n === Y(e)) return {
                            type: "parent",
                            distance: fn(n)
                        };
                        if (n === G(e)) return {
                            type: "opener"
                        };
                        if (Q(n) && (r = n) !== on(r)) {
                            var t = nn(n).name;
                            if (t) return {
                                type: "name",
                                name: t
                            }
                        }
                        var r
                    }
                    function ri(n, e, t, r, o) {
                        if (!n.hasOwnProperty(t)) return r;
                        var i = n[t];
                        return "function" == typeof i.childDecorate ? i.childDecorate({
                            value: r,
                            uid: o.uid,
                            tag: o.tag,
                            close: o.close,
                            focus: o.focus,
                            onError: o.onError,
                            onProps: o.onProps,
                            resize: o.resize,
                            getParent: o.getParent,
                            getParentDomain: o.getParentDomain,
                            show: o.show,
                            hide: o.hide,
                            export: o.export,
                            getSiblings: o.getSiblings
                        }) : r
                    }
                    function oi() {
                        return H.
                        try ((function() {
                            window.focus()
                        }))
                    }
                    function ii() {
                        return H.
                        try ((function() {
                            window.close()
                        }))
                    }
                    var ai = function() {
                            return Wn
                        },
                        ui = function(n) {
                            return jn(n.value)
                        };
                    function li(n, e, t) {
                        for (var r = 0,
                                 o = Object.keys(P({},
                                     n, e)); r < o.length; r++) {
                            var i = o[r];
                            t(i, e[i], n[i])
                        }
                    }
                    function si(n, e, t) {
                        var r = {};
                        return H.all(function(n, e, o) {
                            var i = [];
                            return li(n, e, (function(n, e, o) {
                                var a = function(n, e, o) {
                                    return H.resolve().then((function() {
                                        var i, a;
                                        if (null != o && e) {
                                            var u = (i = {},
                                                    i.get = e.queryParam, i.post = e.bodyParam, i)[t],
                                                l = (a = {},
                                                    a.get = e.queryValue, a.post = e.bodyValue, a)[t];
                                            if (u) return H.hash({
                                                finalParam: H.
                                                try ((function() {
                                                    return "function" == typeof u ? u({
                                                        value: o
                                                    }) : "string" == typeof u ? u: n
                                                })),
                                                finalValue: H.
                                                try ((function() {
                                                    return "function" == typeof l && se(o) ? l({
                                                        value: o
                                                    }) : o
                                                }))
                                            }).then((function(t) {
                                                var o, i = t.finalParam,
                                                    a = t.finalValue;
                                                if ("boolean" == typeof a) o = a.toString();
                                                else if ("string" == typeof a) o = a.toString();
                                                else if ("object" == typeof a && null !== a) {
                                                    if ("json" === e.serialization) o = JSON.stringify(a);
                                                    else if ("base64" === e.serialization) o = _n(JSON.stringify(a));
                                                    else if ("dotify" === e.serialization || !e.serialization) {
                                                        o = function n(e, t, r) {
                                                            for (var o in void 0 === t && (t = ""), void 0 === r && (r = {}), t = t ? t + ".": t, e) e.hasOwnProperty(o) && null != e[o] && "function" != typeof e[o] && (e[o] && Array.isArray(e[o]) && e[o].length && e[o].every((function(n) {
                                                                return "object" != typeof n
                                                            })) ? r["" + t + o + "[]"] = e[o].join(",") : e[o] && "object" == typeof e[o] ? r = n(e[o], "" + t + o, r) : r["" + t + o] = e[o].toString());
                                                            return r
                                                        } (a, n);
                                                        for (var u = 0,
                                                                 l = Object.keys(o); u < l.length; u++) {
                                                            var s = l[u];
                                                            r[s] = o[s]
                                                        }
                                                        return
                                                    }
                                                } else "number" == typeof a && (o = a.toString());
                                                r[i] = o
                                            }))
                                        }
                                    }))
                                } (n, e, o);
                                i.push(a)
                            })),
                                i
                        } (e, n)).then((function() {
                            return r
                        }))
                    }
                    function ci(n) {
                        var e, t, r, o, i, a = n.uid,
                            u = n.options,
                            l = n.overrides,
                            s = void 0 === l ? {}: l,
                            c = n.parentWin,
                            d = void 0 === c ? window: c,
                            p = u.propsDef,
                            f = u.containerTemplate,
                            h = u.prerenderTemplate,
                            g = u.tag,
                            m = u.name,
                            y = u.attributes,
                            v = u.dimensions,
                            w = u.autoResize,
                            b = u.url,
                            E = u.domain,
                            T = u.exports,
                            A = new H,
                            O = [],
                            C = pe(),
                            R = {},
                            N = {},
                            x = {
                                visible: !0
                            },
                            L = s.event ? s.event: ee(),
                            S = s.props ? s.props: {},
                            _ = !1,
                            B = s.onError,
                            F = s.getProxyContainer,
                            k = s.show,
                            D = s.hide,
                            I = s.close,
                            U = s.renderContainer,
                            M = s.getProxyWindow,
                            q = s.setProxyWin,
                            W = s.openFrame,
                            j = s.openPrerenderFrame,
                            z = s.prerender,
                            K = s.open,
                            Z = s.openPrerender,
                            V = s.watchForUnload,
                            Y = s.getInternalState,
                            G = s.setInternalState,
                            X = function() {
                                return "function" == typeof v ? v({
                                    props: S
                                }) : v
                            },
                            J = function() {
                                return H.
                                try ((function() {
                                    return s.resolveInitPromise ? s.resolveInitPromise() : A.resolve()
                                }))
                            },
                            en = function(n) {
                                return H.
                                try ((function() {
                                    return s.rejectInitPromise ? s.rejectInitPromise(n) : A.reject(n)
                                }))
                            },
                            tn = function(n) {
                                for (var e = {},
                                         t = 0,
                                         r = Object.keys(S); t < r.length; t++) {
                                    var o = r[t],
                                        i = p[o];
                                    if (!i || !1 !== i.sendToChild) {
                                        var a = i && i.trustedDomains && i.trustedDomains.length > 0 ? i.trustedDomains.reduce((function(e, t) {
                                            return e || gn(t, n)
                                        }), !1) : gn(n, $(window));
                                        i && i.sameDomain && !a || i && i.trustedDomains && !a || (e[o] = S[o])
                                    }
                                }
                                return H.hash(e)
                            },
                            rn = function() {
                                return H.
                                try ((function() {
                                    return Y ? Y() : x
                                }))
                            },
                            on = function(n) {
                                return H.
                                try ((function() {
                                    return G ? G(n) : x = P({},
                                        x, n)
                                }))
                            },
                            an = function() {
                                return M ? M() : H.
                                try ((function() {
                                    var n = S.window;
                                    if (n) {
                                        var e = Io(n);
                                        return C.register((function() {
                                            return n.close()
                                        })),
                                            e
                                    }
                                    return new go({
                                        send: Bo
                                    })
                                }))
                            },
                            un = function(n) {
                                return q ? q(n) : H.
                                try ((function() {
                                    e = n
                                }))
                            },
                            ln = function() {
                                return k ? k() : H.hash({
                                    setState: on({
                                        visible: !0
                                    }),
                                    showElement: t ? t.get().then(ze) : null
                                }).then(Wn)
                            },
                            cn = function() {
                                return D ? D() : H.hash({
                                    setState: on({
                                        visible: !1
                                    }),
                                    showElement: t ? t.get().then(Ke) : null
                                }).then(Wn)
                            },
                            pn = function() {
                                return "function" == typeof b ? b({
                                    props: S
                                }) : b
                            },
                            vn = function() {
                                return "function" == typeof y ? y({
                                    props: S
                                }) : y
                            },
                            wn = function() {
                                return mn(pn())
                            },
                            En = function(n, e) {
                                var t = e.windowName;
                                return W ? W(n, {
                                    windowName: t
                                }) : H.
                                try ((function() {
                                    if (n === Jo.IFRAME) return Ko(Ie({
                                        attributes: P({
                                                name: t,
                                                title: m
                                            },
                                            vn().iframe)
                                    }))
                                }))
                            },
                            Tn = function(n) {
                                return j ? j(n) : H.
                                try ((function() {
                                    if (n === Jo.IFRAME) return Ko(Ie({
                                        attributes: P({
                                                name: "__zoid_prerender_frame__" + m + "_" + Bn() + "__",
                                                title: "prerender__" + m
                                            },
                                            vn().iframe)
                                    }))
                                }))
                            },
                            An = function(n, e, t) {
                                return Z ? Z(n, e, t) : H.
                                try ((function() {
                                    if (n === Jo.IFRAME) {
                                        if (!t) throw new Error("Expected proxy frame to be passed");
                                        return t.get().then((function(n) {
                                            return C.register((function() {
                                                return Ze(n)
                                            })),
                                                De(n).then((function(n) {
                                                    return nn(n)
                                                })).then((function(n) {
                                                    return Io(n)
                                                }))
                                        }))
                                    }
                                    if (n === Jo.POPUP) return e;
                                    throw new Error("No render context available for " + n)
                                }))
                            },
                            On = function() {
                                return H.
                                try ((function() {
                                    if (e) return H.all([L.trigger("zoid-focus"), e.focus()]).then(Wn)
                                }))
                            },
                            Cn = function() {
                                var n = jo(window);
                                return n.windows = n.windows || {},
                                    n.windows[a] = window,
                                    C.register((function() {
                                        delete n.windows[a]
                                    })),
                                    a
                            },
                            Rn = function(n, e, t, r) {
                                if (e === $(window)) return {
                                    type: "global",
                                    uid: Cn()
                                };
                                if (n !== window) throw new Error("Can not construct cross-domain window reference for different target window");
                                if (S.window) {
                                    var o = r.getWindow();
                                    if (!o) throw new Error("Can not construct cross-domain window reference for lazy window prop");
                                    if (dn(o) !== window) throw new Error("Can not construct cross-domain window reference for window prop with different ancestor")
                                }
                                if (t === Jo.POPUP) return {
                                    type: "opener"
                                };
                                if (t === Jo.IFRAME) return {
                                    type: "parent",
                                    distance: fn(window)
                                };
                                throw new Error("Can not construct window reference for child")
                            },
                            Nn = function(n, t) {
                                return H.
                                try ((function() {
                                    var i;
                                    o = n,
                                        r = t,
                                    null == (i = e) || i.isPopup().then((function(n) {
                                        var r;
                                        "" !== (null == t ? void 0 : t.name) && n && (null == (r = e) || r.setName(null == t ? void 0 : t.name))
                                    })).
                                    finally((function() {
                                        J(),
                                            C.register((function() {
                                                return t.close.fireAndForget().
                                                catch(Wn)
                                            }))
                                    }))
                                }))
                            },
                            xn = function(n) {
                                var e = n.width,
                                    t = n.height;
                                return H.
                                try ((function() {
                                    L.trigger("zoid-resize", {
                                        width: e,
                                        height: t
                                    })
                                }))
                            },
                            Ln = function(n) {
                                return H.
                                try ((function() {
                                    return L.trigger("zoid-destroy")
                                })).
                                catch(Wn).then((function() {
                                    return C.all(n)
                                })).then((function() {
                                    var e = n || new Error(Xo.COMPONENT_DESTROYED);
                                    i && Ve(i) || Object.values(Xo).includes(e.message) ? A.resolve() : A.asyncReject(e)
                                }))
                            },
                            Sn = Mn((function(n) {
                                return H.
                                try ((function() {
                                    if (I) {
                                        if (sn(I.__source__)) return;
                                        return I()
                                    }
                                    return H.
                                    try ((function() {
                                        return L.trigger("zoid-close")
                                    })).then((function() {
                                        return Ln(n || new Error(Xo.COMPONENT_CLOSED))
                                    }))
                                }))
                            })),
                            _n = function(n, e) {
                                var t = e.proxyWin,
                                    r = e.proxyFrame,
                                    o = e.windowName;
                                return K ? K(n, {
                                    proxyWin: t,
                                    proxyFrame: r,
                                    windowName: o
                                }) : H.
                                try ((function() {
                                    if (n === Jo.IFRAME) {
                                        if (!r) throw new Error("Expected proxy frame to be passed");
                                        return r.get().then((function(n) {
                                            return De(n).then((function(e) {
                                                return C.register((function() {
                                                    return Ze(n)
                                                })),
                                                    C.register((function() {
                                                        return Ho(e)
                                                    })),
                                                    e
                                            }))
                                        }))
                                    }
                                    if (n === Jo.POPUP) {
                                        var e = X(),
                                            t = e.width,
                                            i = void 0 === t ? "300px": t,
                                            a = e.height,
                                            u = void 0 === a ? "150px": a;
                                        i = ut(i, window.outerWidth),
                                            u = ut(u, window.outerWidth);
                                        var l = Be("", P({
                                                name: o,
                                                width: i,
                                                height: u
                                            },
                                            vn().popup));
                                        return C.register((function() {
                                            return bn(l)
                                        })),
                                            C.register((function() {
                                                return Ho(l)
                                            })),
                                            l
                                    }
                                    throw new Error("No render context available for " + n)
                                })).then((function(n) {
                                    return t.setWindow(n, {
                                        send: Bo
                                    }),
                                        t.setName(o).then((function() {
                                            return t
                                        }))
                                }))
                            },
                            Pn = function() {
                                return H.
                                try ((function() {
                                    var n = Ue(window, "unload", jn((function() {
                                            Ln(new Error(Xo.NAVIGATED_AWAY))
                                        }))),
                                        e = yn(d, Ln, 3e3);
                                    if (C.register(e.cancel), C.register(n.cancel), V) return V()
                                }))
                            },
                            Fn = function(n) {
                                var e = !1;
                                return n.isClosed().then((function(t) {
                                    return t ? (e = !0, Sn(new Error(Xo.WINDOW_CLOSED))) : H.delay(200).then((function() {
                                        return n.isClosed()
                                    })).then((function(n) {
                                        if (n) return e = !0,
                                            Sn(new Error(Xo.WINDOW_CLOSED))
                                    }))
                                })).then((function() {
                                    return e
                                }))
                            },
                            kn = function(n) {
                                return B ? B(n) : H.
                                try ((function() {
                                    if ( - 1 === O.indexOf(n)) return O.push(n),
                                        A.asyncReject(n),
                                        L.trigger("zoid-error", n)
                                }))
                            },
                            Dn = new H,
                            In = function(n) {
                                return H.
                                try ((function() {
                                    Dn.resolve(n)
                                }))
                            };
                        Nn.onError = kn;
                        var Un = function(n, e) {
                                return n({
                                    uid: a,
                                    container: e.container,
                                    context: e.context,
                                    doc: e.doc,
                                    frame: e.frame,
                                    prerenderFrame: e.prerenderFrame,
                                    focus: On,
                                    close: Sn,
                                    state: R,
                                    props: S,
                                    tag: g,
                                    dimensions: X(),
                                    event: L
                                })
                            },
                            qn = function(n, e) {
                                var t = e.context;
                                return z ? z(n, {
                                    context: t
                                }) : H.
                                try ((function() {
                                    if (h) {
                                        L.trigger("zoid-prerender");
                                        var e = n.getWindow();
                                        if (e && Q(e) &&
                                            function(n) {
                                                try {
                                                    if (!n.location.href) return ! 0;
                                                    if ("about:blank" === n.location.href) return ! 0
                                                } catch(n) {}
                                                return ! 1
                                            } (e)) {
                                            var r = (e = nn(e)).document,
                                                o = Un(h, {
                                                    context: t,
                                                    doc: r
                                                });
                                            if (o) {
                                                if (o.ownerDocument !== r) throw new Error("Expected prerender template to have been created with document from child window");
                                                Fe(e, o);
                                                var i = w.width,
                                                    a = void 0 !== i && i,
                                                    u = w.height,
                                                    l = void 0 !== u && u,
                                                    s = w.element,
                                                    c = void 0 === s ? "body": s;
                                                if ((c = xe(c, r)) && (a || l)) {
                                                    var d = Ye(c, (function(n) {
                                                        xn({
                                                            width: a ? n.width: void 0,
                                                            height: l ? n.height: void 0
                                                        })
                                                    }), {
                                                        width: a,
                                                        height: l,
                                                        win: e
                                                    });
                                                    L.on("zoid-rendered", d.cancel)
                                                }
                                                L.trigger("zoid-prerendered")
                                            }
                                        }
                                    }
                                }))
                            },
                            Hn = function(n, e) {
                                var r = e.proxyFrame,
                                    o = e.proxyPrerenderFrame,
                                    i = e.context,
                                    a = e.rerender;
                                return U ? U(n, {
                                    proxyFrame: r,
                                    proxyPrerenderFrame: o,
                                    context: i,
                                    rerender: a
                                }) : H.hash({
                                    container: n.get(),
                                    frame: r ? r.get() : null,
                                    prerenderFrame: o ? o.get() : null,
                                    internalState: rn()
                                }).then((function(n) {
                                    var e = n.container,
                                        r = n.internalState.visible,
                                        o = Un(f, {
                                            context: i,
                                            container: e,
                                            frame: n.frame,
                                            prerenderFrame: n.prerenderFrame,
                                            doc: document
                                        });
                                    if (o) {
                                        r || Ke(o),
                                            Ne(e, o);
                                        var u = function(n, e) {
                                            e = jn(e);
                                            var t, r, o, i = !1,
                                                a = [],
                                                u = function() {
                                                    i = !0;
                                                    for (var n = 0; n < a.length; n++) a[n].disconnect();
                                                    t && t.cancel(),
                                                    o && o.removeEventListener("unload", l),
                                                    r && Ze(r)
                                                },
                                                l = function() {
                                                    i || (e(), u())
                                                };
                                            if (Ve(n)) return l(),
                                                {
                                                    cancel: u
                                                };
                                            if (window.MutationObserver) for (var s = n.parentElement; s;) {
                                                var c = new window.MutationObserver((function() {
                                                    Ve(n) && l()
                                                }));
                                                c.observe(s, {
                                                    childList: !0
                                                }),
                                                    a.push(c),
                                                    s = s.parentElement
                                            }
                                            return (r = document.createElement("iframe")).setAttribute("name", "__detect_close_" + Bn() + "__"),
                                                r.style.display = "none",
                                                De(r).then((function(n) { (o = nn(n)).addEventListener("unload", l)
                                                })),
                                                n.appendChild(r),
                                                t = ne((function() {
                                                    Ve(n) && l()
                                                }), 1e3),
                                                {
                                                    cancel: u
                                                }
                                        } (o, (function() {
                                            var n = new Error("Detected container element removed from DOM");
                                            return H.delay(1).then((function() {
                                                if (!Ve(o)) return C.all(n),
                                                    a().then(J, en);
                                                Sn(n)
                                            }))
                                        }));
                                        return C.register((function() {
                                            return u.cancel()
                                        })),
                                            C.register((function() {
                                                return Ze(o)
                                            })),
                                            t = Ko(o)
                                    }
                                }))
                            },
                            Kn = function() {
                                return {
                                    state: R,
                                    event: L,
                                    close: Sn,
                                    focus: On,
                                    resize: xn,
                                    onError: kn,
                                    updateProps: Yn,
                                    show: ln,
                                    hide: cn
                                }
                            },
                            Vn = function(n) {
                                void 0 === n && (n = {});
                                var e = i,
                                    t = Kn();
                                Zn(N, n),
                                    function(n, e, t, r, o) {
                                        var i = r.state,
                                            a = r.close,
                                            u = r.focus,
                                            l = r.event,
                                            s = r.onError;
                                        li(t, n, (function(n, r, c) {
                                            var d = !1,
                                                p = c;
                                            Object.defineProperty(e, n, {
                                                configurable: !0,
                                                enumerable: !0,
                                                get: function() {
                                                    return d ? p: (d = !0,
                                                        function() {
                                                            if (!r) return p;
                                                            var d = r.alias;
                                                            if (d && !se(c) && se(t[d]) && (p = t[d]), r.value && (p = r.value({
                                                                props: e,
                                                                state: i,
                                                                close: a,
                                                                focus: u,
                                                                event: l,
                                                                onError: s,
                                                                container: o
                                                            })), !r.
                                                                default || se(p) || se(t[n]) || (p = r.
                                                            default({
                                                                props:
                                                                e,
                                                                state: i,
                                                                close: a,
                                                                focus: u,
                                                                event: l,
                                                                onError: s,
                                                                container: o
                                                            })), se(p)) {
                                                                if ("array" === r.type ? !Array.isArray(p) : typeof p !== r.type) throw new TypeError("Prop is not of type " + r.type + ": " + n)
                                                            } else if (!1 !== r.required && !se(t[n])) throw new Error('Expected prop "' + n + '" to be defined');
                                                            return se(p) && r.decorate && (p = r.decorate({
                                                                value: p,
                                                                props: e,
                                                                state: i,
                                                                close: a,
                                                                focus: u,
                                                                event: l,
                                                                onError: s,
                                                                container: o
                                                            })),
                                                                p
                                                        } ())
                                                }
                                            })
                                        })),
                                            li(e, n, Wn)
                                    } (p, S, N, t, e)
                            },
                            Yn = function(n) {
                                return Vn(n),
                                    A.then((function() {
                                        var n = r,
                                            t = e;
                                        if (n && t && o) return tn(o).then((function(e) {
                                            return n.updateProps(e).
                                            catch((function(n) {
                                                return Fn(t).then((function(e) {
                                                    if (!e) throw n
                                                }))
                                            }))
                                        }))
                                    }))
                            },
                            Gn = function(n) {
                                return F ? F(n) : H.
                                try ((function() {
                                    return Se(n)
                                })).then((function(n) {
                                    return Ge(n) && (n = function n(e) {
                                        var t = function(n) {
                                            var e = function(n) {
                                                for (; n.parentNode;) n = n.parentNode;
                                                if (Ge(n)) return n
                                            } (n);
                                            if (e && e.host) return e.host
                                        } (e);
                                        if (!t) throw new Error("Element is not in shadow dom");
                                        var r = "shadow-slot-" + Bn(),
                                            o = document.createElement("slot");
                                        o.setAttribute("name", r),
                                            e.appendChild(o);
                                        var i = document.createElement("div");
                                        return i.setAttribute("slot", r),
                                            t.appendChild(i),
                                            Ge(t) ? n(i) : i
                                    } (n)),
                                        i = n,
                                        Ko(n)
                                }))
                            };
                        return {
                            init: function() {
                                L.on("zoid-render", (function() {
                                    return S.onRender()
                                })),
                                    L.on("zoid-prerender", (function() {
                                        return S.onPrerender()
                                    })),
                                    L.on("zoid-display", (function() {
                                        return S.onDisplay()
                                    })),
                                    L.on("zoid-rendered", (function() {
                                        return S.onRendered()
                                    })),
                                    L.on("zoid-prerendered", (function() {
                                        return S.onPrerendered()
                                    })),
                                    L.on("zoid-close", (function() {
                                        return S.onClose()
                                    })),
                                    L.on("zoid-destroy", (function() {
                                        return S.onDestroy()
                                    })),
                                    L.on("zoid-resize", (function() {
                                        return S.onResize()
                                    })),
                                    L.on("zoid-focus", (function() {
                                        return S.onFocus()
                                    })),
                                    L.on("zoid-props", (function(n) {
                                        return S.onProps(n)
                                    })),
                                    L.on("zoid-error", (function(n) {
                                        return S && S.onError ? S.onError(n) : en(n).then((function() {
                                            setTimeout((function() {
                                                throw n
                                            }), 1)
                                        }))
                                    })),
                                    C.register(L.reset)
                            },
                            render: function(n) {
                                var t = n.target,
                                    r = n.container,
                                    o = n.context,
                                    l = n.rerender;
                                return H.
                                try ((function() {
                                    var n = wn(),
                                        s = E || wn(); !
                                        function(n, e, t) {
                                            if (n !== window) {
                                                if (!hn(window, n)) throw new Error("Can only renderTo an adjacent frame");
                                                var r = $();
                                                if (!gn(e, r) && !Q(n)) throw new Error("Can not render remotely to " + e.toString() + " - can only render to " + r);
                                                if (t && "string" != typeof t) throw new Error("Container passed to renderTo must be a string selector, got " + typeof t + " }")
                                            }
                                        } (t, s, r);
                                    var c = H.
                                        try ((function() {
                                            if (t !== window) return function(n, e) {
                                                for (var t = {},
                                                         r = 0,
                                                         o = Object.keys(S); r < o.length; r++) {
                                                    var i = o[r],
                                                        u = p[i];
                                                    u && u.allowDelegate && (t[i] = S[i])
                                                }
                                                var l = Bo(e, "zoid_delegate_" + m, {
                                                    uid: a,
                                                    overrides: {
                                                        props: t,
                                                        event: L,
                                                        close: Sn,
                                                        onError: kn,
                                                        getInternalState: rn,
                                                        setInternalState: on,
                                                        resolveInitPromise: J,
                                                        rejectInitPromise: en
                                                    }
                                                }).then((function(n) {
                                                    var t = n.data.parent;
                                                    return C.register((function(n) {
                                                        if (!sn(e)) return t.destroy(n)
                                                    })),
                                                        t.getDelegateOverrides()
                                                })).
                                                catch((function(n) {
                                                    throw new Error("Unable to delegate rendering. Possibly the component is not loaded in the target window.\n\n" + zn(n))
                                                }));
                                                return F = function() {
                                                    for (var n = arguments.length,
                                                             e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                    return l.then((function(n) {
                                                        return n.getProxyContainer.apply(n, e)
                                                    }))
                                                },
                                                    U = function() {
                                                        for (var n = arguments.length,
                                                                 e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                        return l.then((function(n) {
                                                            return n.renderContainer.apply(n, e)
                                                        }))
                                                    },
                                                    k = function() {
                                                        for (var n = arguments.length,
                                                                 e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                        return l.then((function(n) {
                                                            return n.show.apply(n, e)
                                                        }))
                                                    },
                                                    D = function() {
                                                        for (var n = arguments.length,
                                                                 e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                        return l.then((function(n) {
                                                            return n.hide.apply(n, e)
                                                        }))
                                                    },
                                                    V = function() {
                                                        for (var n = arguments.length,
                                                                 e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                        return l.then((function(n) {
                                                            return n.watchForUnload.apply(n, e)
                                                        }))
                                                    },
                                                    n === Jo.IFRAME ? (M = function() {
                                                        for (var n = arguments.length,
                                                                 e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                        return l.then((function(n) {
                                                            return n.getProxyWindow.apply(n, e)
                                                        }))
                                                    },
                                                        W = function() {
                                                            for (var n = arguments.length,
                                                                     e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                            return l.then((function(n) {
                                                                return n.openFrame.apply(n, e)
                                                            }))
                                                        },
                                                        j = function() {
                                                            for (var n = arguments.length,
                                                                     e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                            return l.then((function(n) {
                                                                return n.openPrerenderFrame.apply(n, e)
                                                            }))
                                                        },
                                                        z = function() {
                                                            for (var n = arguments.length,
                                                                     e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                            return l.then((function(n) {
                                                                return n.prerender.apply(n, e)
                                                            }))
                                                        },
                                                        K = function() {
                                                            for (var n = arguments.length,
                                                                     e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                            return l.then((function(n) {
                                                                return n.open.apply(n, e)
                                                            }))
                                                        },
                                                        Z = function() {
                                                            for (var n = arguments.length,
                                                                     e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                            return l.then((function(n) {
                                                                return n.openPrerender.apply(n, e)
                                                            }))
                                                        }) : n === Jo.POPUP && (q = function() {
                                                        for (var n = arguments.length,
                                                                 e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                        return l.then((function(n) {
                                                            return n.setProxyWin.apply(n, e)
                                                        }))
                                                    }),
                                                    l
                                            } (o, t)
                                        })),
                                        d = S.window,
                                        f = Pn(),
                                        h = si(p, S, "post"),
                                        y = L.trigger("zoid-render"),
                                        v = Gn(r),
                                        w = an(),
                                        b = v.then((function() {
                                            return Vn()
                                        })),
                                        T = b.then((function() {
                                            return si(p, S, "get").then((function(n) {
                                                return Te(function(n) {
                                                    if (0 !== mn(n).indexOf("mock:")) return n;
                                                    throw new Error("Mock urls not supported out of test mode")
                                                } (pn()), {
                                                    query: n
                                                })
                                            }))
                                        })),
                                        O = w.then((function(e) {
                                            return function(n) {
                                                return function(n) {
                                                    var e = void 0 === n ? {}: n,
                                                        t = e.proxyWin,
                                                        r = e.initialChildDomain,
                                                        o = e.childDomainMatch,
                                                        i = e.target,
                                                        u = void 0 === i ? window: i,
                                                        l = e.context;
                                                    return function(n) {
                                                        var e = void 0 === n ? {}: n,
                                                            t = e.proxyWin,
                                                            r = e.childDomainMatch,
                                                            o = e.context;
                                                        return tn(e.initialChildDomain).then((function(n) {
                                                            return {
                                                                uid: a,
                                                                context: o,
                                                                tag: g,
                                                                childDomainMatch: r,
                                                                version: "10_4_0",
                                                                props: n,
                                                                exports: (e = t, {
                                                                    init: function(n) {
                                                                        return Nn(this.origin, n)
                                                                    },
                                                                    close: Sn,
                                                                    checkClose: function() {
                                                                        return Fn(e)
                                                                    },
                                                                    resize: xn,
                                                                    onError: kn,
                                                                    show: ln,
                                                                    hide: cn,
                                                                    export: In
                                                                })
                                                            };
                                                            var e
                                                        }))
                                                    } ({
                                                        proxyWin: t,
                                                        initialChildDomain: r,
                                                        childDomainMatch: o,
                                                        context: l
                                                    }).then((function(n) {
                                                        var e = Yo({
                                                                data: n,
                                                                metaData: {
                                                                    windowRef: Rn(u, r, l, t)
                                                                },
                                                                sender: {
                                                                    domain: $(window)
                                                                },
                                                                receiver: {
                                                                    win: t,
                                                                    domain: o
                                                                },
                                                                passByReference: r === $()
                                                            }),
                                                            i = e.serializedData;
                                                        return C.register(e.cleanReference),
                                                            i
                                                    }))
                                                } ({
                                                    proxyWin: n.proxyWin,
                                                    initialChildDomain: n.initialChildDomain,
                                                    childDomainMatch: n.childDomainMatch,
                                                    target: n.target,
                                                    context: n.context
                                                }).then((function(n) {
                                                    return $o({
                                                        name: m,
                                                        serializedPayload: n
                                                    })
                                                }))
                                            } ({
                                                proxyWin: e,
                                                initialChildDomain: n,
                                                childDomainMatch: s,
                                                target: t,
                                                context: o
                                            })
                                        })),
                                        R = O.then((function(n) {
                                            return En(o, {
                                                windowName: n
                                            })
                                        })),
                                        N = Tn(o),
                                        x = H.hash({
                                            proxyContainer: v,
                                            proxyFrame: R,
                                            proxyPrerenderFrame: N
                                        }).then((function(n) {
                                            return Hn(n.proxyContainer, {
                                                context: o,
                                                proxyFrame: n.proxyFrame,
                                                proxyPrerenderFrame: n.proxyPrerenderFrame,
                                                rerender: l
                                            })
                                        })).then((function(n) {
                                            return n
                                        })),
                                        P = H.hash({
                                            windowName: O,
                                            proxyFrame: R,
                                            proxyWin: w
                                        }).then((function(n) {
                                            var e = n.proxyWin;
                                            return d ? e: _n(o, {
                                                windowName: n.windowName,
                                                proxyWin: e,
                                                proxyFrame: n.proxyFrame
                                            })
                                        })),
                                        B = H.hash({
                                            proxyWin: P,
                                            proxyPrerenderFrame: N
                                        }).then((function(n) {
                                            return An(o, n.proxyWin, n.proxyPrerenderFrame)
                                        })),
                                        I = P.then((function(n) {
                                            return e = n,
                                                un(n)
                                        })),
                                        Y = H.hash({
                                            proxyPrerenderWin: B,
                                            state: I
                                        }).then((function(n) {
                                            return qn(n.proxyPrerenderWin, {
                                                context: o
                                            })
                                        })),
                                        G = H.hash({
                                            proxyWin: P,
                                            windowName: O
                                        }).then((function(n) {
                                            if (d) return n.proxyWin.setName(n.windowName)
                                        })),
                                        X = H.hash({
                                            body: h
                                        }).then((function(n) {
                                            return u.method ? u.method: Object.keys(n.body).length ? "post": "get"
                                        })),
                                        nn = H.hash({
                                            proxyWin: P,
                                            windowUrl: T,
                                            body: h,
                                            method: X,
                                            windowName: G,
                                            prerender: Y
                                        }).then((function(n) {
                                            return n.proxyWin.setLocation(n.windowUrl, {
                                                method: n.method,
                                                body: n.body
                                            })
                                        })),
                                        dn = P.then((function(n) { !
                                            function n(e, t) {
                                                var r = !1;
                                                return C.register((function() {
                                                    r = !0
                                                })),
                                                    H.delay(2e3).then((function() {
                                                        return e.isClosed()
                                                    })).then((function(o) {
                                                        if (!r) {
                                                            if (t === Jo.POPUP && o) return Sn(new Error("Detected popup close"));
                                                            var a = Boolean(i && Ve(i));
                                                            return t === Jo.IFRAME && o && (a || _) ? Sn(new Error(Xo.IFRAME_CLOSE)) : n(e, t)
                                                        }
                                                    }))
                                            } (n, o)
                                        })),
                                        fn = H.hash({
                                            container: x,
                                            prerender: Y
                                        }).then((function() {
                                            return L.trigger("zoid-display")
                                        })),
                                        yn = P.then((function(n) {})),
                                        vn = nn.then((function() {
                                            return H.
                                            try ((function() {
                                                var n = S.timeout;
                                                if (n) return A.timeout(n, new Error("Loading component timed out after " + n + " milliseconds"))
                                            }))
                                        })),
                                        bn = A.then((function() {
                                            return _ = !0,
                                                L.trigger("zoid-rendered")
                                        }));
                                    return H.hash({
                                        initPromise: A,
                                        buildUrlPromise: T,
                                        onRenderPromise: y,
                                        getProxyContainerPromise: v,
                                        openFramePromise: R,
                                        openPrerenderFramePromise: N,
                                        renderContainerPromise: x,
                                        openPromise: P,
                                        openPrerenderPromise: B,
                                        setStatePromise: I,
                                        prerenderPromise: Y,
                                        loadUrlPromise: nn,
                                        buildWindowNamePromise: O,
                                        setWindowNamePromise: G,
                                        watchForClosePromise: dn,
                                        onDisplayPromise: fn,
                                        openBridgePromise: yn,
                                        runTimeoutPromise: vn,
                                        onRenderedPromise: bn,
                                        delegatePromise: c,
                                        watchForUnloadPromise: f,
                                        finalSetPropsPromise: b
                                    })
                                })).
                                catch((function(n) {
                                    return H.all([kn(n), Ln(n)]).then((function() {
                                        throw n
                                    }), (function() {
                                        throw n
                                    }))
                                })).then(Wn)
                            },
                            destroy: Ln,
                            getProps: function() {
                                return S
                            },
                            setProps: Vn,
                            export: In,
                            getHelpers: Kn,
                            getDelegateOverrides: function() {
                                return H.
                                try ((function() {
                                    return {
                                        getProxyContainer: Gn,
                                        show: ln,
                                        hide: cn,
                                        renderContainer: Hn,
                                        getProxyWindow: an,
                                        watchForUnload: Pn,
                                        openFrame: En,
                                        openPrerenderFrame: Tn,
                                        prerender: qn,
                                        open: _n,
                                        openPrerender: An,
                                        setProxyWin: un
                                    }
                                }))
                            },
                            getExports: function() {
                                return T({
                                    getExports: function() {
                                        return Dn
                                    }
                                })
                            }
                        }
                    }
                    var di = {
                            register: function(n, e, t, r) {
                                var o = r.React,
                                    i = r.ReactDOM;
                                return function(n) {
                                    function e() {
                                        return n.apply(this, arguments) || this
                                    }
                                    _(e, n);
                                    var r = e.prototype;
                                    return r.render = function() {
                                        return o.createElement("div", null)
                                    },
                                        r.componentDidMount = function() {
                                            var n = i.findDOMNode(this),
                                                e = t(Zn({},
                                                    this.props));
                                            e.render(n, Jo.IFRAME),
                                                this.setState({
                                                    parent: e
                                                })
                                        },
                                        r.componentDidUpdate = function() {
                                            this.state && this.state.parent && this.state.parent.updateProps(Zn({},
                                                this.props)).
                                            catch(Wn)
                                        },
                                        e
                                } (o.Component)
                            }
                        },
                        pi = {
                            register: function(n, e, t, r) {
                                return r.component(n, {
                                    render: function(n) {
                                        return n("div")
                                    },
                                    inheritAttrs: !1,
                                    mounted: function() {
                                        var n, e = this.$el;
                                        this.parent = t(P({},
                                            (n = this.$attrs, Object.keys(n).reduce((function(e, t) {
                                                var r = n[t];
                                                return "style-object" === t || "styleObject" === t ? (e.style = r, e.styleObject = r) : t.includes("-") ? e[te(t)] = r: e[t] = r,
                                                    e
                                            }), {})))),
                                            this.parent.render(e, Jo.IFRAME)
                                    },
                                    watch: {
                                        $attrs: {
                                            handler: function() {
                                                this.parent && this.$attrs && this.parent.updateProps(P({},
                                                    this.$attrs)).
                                                catch(Wn)
                                            },
                                            deep: !0
                                        }
                                    }
                                })
                            }
                        },
                        fi = {
                            register: function(n, e, t) {
                                return {
                                    template: "<div></div>",
                                    inheritAttrs: !1,
                                    mounted: function() {
                                        var n, e = this.$el;
                                        this.parent = t(P({},
                                            (n = this.$attrs, Object.keys(n).reduce((function(e, t) {
                                                var r = n[t];
                                                return "style-object" === t || "styleObject" === t ? (e.style = r, e.styleObject = r) : t.includes("-") ? e[te(t)] = r: e[t] = r,
                                                    e
                                            }), {})))),
                                            this.parent.render(e, Jo.IFRAME)
                                    },
                                    watch: {
                                        $attrs: {
                                            handler: function() {
                                                this.parent && this.$attrs && this.parent.updateProps(P({},
                                                    this.$attrs)).
                                                catch(Wn)
                                            },
                                            deep: !0
                                        }
                                    }
                                }
                            }
                        },
                        hi = {
                            register: function(n, e, t, r) {
                                return r.module(n, []).directive(te(n), (function() {
                                    for (var n = {},
                                             r = 0,
                                             o = Object.keys(e); r < o.length; r++) n[o[r]] = "=";
                                    return n.props = "=",
                                        {
                                            scope: n,
                                            restrict: "E",
                                            controller: ["$scope", "$element",
                                                function(n, e) {
                                                    function r() {
                                                        if ("$apply" !== n.$root.$$phase && "$digest" !== n.$root.$$phase) try {
                                                            n.$apply()
                                                        } catch(n) {}
                                                    }
                                                    var o = function() {
                                                            return le(n.props, (function(n) {
                                                                return "function" == typeof n ?
                                                                    function() {
                                                                        var e = n.apply(this, arguments);
                                                                        return r(),
                                                                            e
                                                                    }: n
                                                            }))
                                                        },
                                                        i = t(o());
                                                    i.render(e[0], Jo.IFRAME),
                                                        n.$watch((function() {
                                                            i.updateProps(o()).
                                                            catch(Wn)
                                                        }))
                                                }]
                                        }
                                }))
                            }
                        },
                        gi = {
                            register: function(n, e, t, r) {
                                var o = r.Component,
                                    i = r.NgModule,
                                    a = r.ElementRef,
                                    u = r.NgZone,
                                    l = r.Inject,
                                    s = function() {
                                        function n(n, e) {
                                            this.elementRef = void 0,
                                                this.internalProps = void 0,
                                                this.parent = void 0,
                                                this.props = void 0,
                                                this.zone = void 0,
                                                this._props = void 0,
                                                this._props = {},
                                                this.elementRef = n,
                                                this.zone = e
                                        }
                                        var e = n.prototype;
                                        return e.getProps = function() {
                                            var n = this;
                                            return le(P({},
                                                this.internalProps, this.props), (function(e) {
                                                if ("function" == typeof e) {
                                                    var t = n.zone;
                                                    return function() {
                                                        var n = arguments,
                                                            r = this;
                                                        return t.run((function() {
                                                            return e.apply(r, n)
                                                        }))
                                                    }
                                                }
                                                return e
                                            }))
                                        },
                                            e.ngOnInit = function() {
                                                var n = this.elementRef.nativeElement;
                                                this.parent = t(this.getProps()),
                                                    this.parent.render(n, Jo.IFRAME)
                                            },
                                            e.ngDoCheck = function() {
                                                this.parent && !
                                                    function(n, e) {
                                                        var t = {};
                                                        for (var r in n) if (n.hasOwnProperty(r) && (t[r] = !0, n[r] !== e[r])) return ! 1;
                                                        for (var o in e) if (!t[o]) return ! 1;
                                                        return ! 0
                                                    } (this._props, this.props) && (this._props = P({},
                                                    this.props), this.parent.updateProps(this.getProps()))
                                            },
                                            n
                                    } ();
                                s.annotations = void 0,
                                    s.parameters = void 0,
                                    s.parameters = [[new l(a)], [new l(u)]],
                                    s.annotations = [new o({
                                        selector: n,
                                        template: "<div></div>",
                                        inputs: ["props"]
                                    })];
                                var c = function() {};
                                return c.annotations = void 0,
                                    c.annotations = [new i({
                                        declarations: [s],
                                        exports: [s]
                                    })],
                                    c
                            }
                        };
                    function mi(n) {
                        var e = n.uid,
                            t = n.frame,
                            r = n.prerenderFrame,
                            o = n.doc,
                            i = n.props,
                            a = n.event,
                            u = n.dimensions,
                            l = u.width,
                            s = u.height;
                        if (t && r) {
                            var c = o.createElement("div");
                            c.setAttribute("id", e);
                            var d = o.createElement("style");
                            return i.cspNonce && d.setAttribute("nonce", i.cspNonce),
                                d.appendChild(o.createTextNode("\n            #" + e + " {\n                display: inline-block;\n                position: relative;\n                width: " + l + ";\n                height: " + s + ";\n            }\n\n            #" + e + " > iframe {\n                display: inline-block;\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n                transition: opacity .2s ease-in-out;\n            }\n\n            #" + e + " > iframe.zoid-invisible {\n                opacity: 0;\n            }\n\n            #" + e + " > iframe.zoid-visible {\n                opacity: 1;\n        }\n        ")),
                                c.appendChild(t),
                                c.appendChild(r),
                                c.appendChild(d),
                                r.classList.add("zoid-visible"),
                                t.classList.add("zoid-invisible"),
                                a.on("zoid-rendered", (function() {
                                    r.classList.remove("zoid-visible"),
                                        r.classList.add("zoid-invisible"),
                                        t.classList.remove("zoid-invisible"),
                                        t.classList.add("zoid-visible"),
                                        setTimeout((function() {
                                            Ze(r)
                                        }), 1)
                                })),
                                a.on("zoid-resize", (function(n) {
                                    var e = n.width,
                                        t = n.height;
                                    "number" == typeof e && (c.style.width = at(e)),
                                    "number" == typeof t && (c.style.height = at(t))
                                })),
                                c
                        }
                    }
                    function yi(n) {
                        var e = n.doc,
                            t = n.props,
                            r = e.createElement("html"),
                            o = e.createElement("body"),
                            i = e.createElement("style"),
                            a = e.createElement("div");
                        return a.classList.add("spinner"),
                        t.cspNonce && i.setAttribute("nonce", t.cspNonce),
                            r.appendChild(o),
                            o.appendChild(a),
                            o.appendChild(i),
                            i.appendChild(e.createTextNode("\n            html, body {\n                width: 100%;\n                height: 100%;\n            }\n\n            .spinner {\n                position: fixed;\n                max-height: 60vmin;\n                max-width: 60vmin;\n                height: 40px;\n                width: 40px;\n                top: 50%;\n                left: 50%;\n                box-sizing: border-box;\n                border: 3px solid rgba(0, 0, 0, .2);\n                border-top-color: rgba(33, 128, 192, 0.8);\n                border-radius: 100%;\n                animation: rotation .7s infinite linear;\n            }\n\n            @keyframes rotation {\n                from {\n                    transform: translateX(-50%) translateY(-50%) rotate(0deg);\n                }\n                to {\n                    transform: translateX(-50%) translateY(-50%) rotate(359deg);\n                }\n            }\n        ")),
                            r
                    }
                    var vi = pe(),
                        wi = pe();
                    function bi(n) {
                        var e, t, r = function(n) {
                                var e = n.tag,
                                    t = n.url,
                                    r = n.domain,
                                    o = n.bridgeUrl,
                                    i = n.props,
                                    a = void 0 === i ? {}: i,
                                    u = n.getExtensions,
                                    l = void 0 === u ?
                                        function() {
                                            return {}
                                        }: u,
                                    s = n.dimensions,
                                    c = void 0 === s ? {}: s,
                                    d = n.autoResize,
                                    p = void 0 === d ? {}: d,
                                    f = n.allowedParentDomains,
                                    h = void 0 === f ? "*": f,
                                    g = n.attributes,
                                    m = void 0 === g ? {}: g,
                                    y = n.defaultContext,
                                    v = void 0 === y ? Jo.IFRAME: y,
                                    w = n.containerTemplate,
                                    b = void 0 === w ? mi: w,
                                    E = n.prerenderTemplate,
                                    T = void 0 === E ? yi: E,
                                    A = n.validate,
                                    O = n.eligible,
                                    C = void 0 === O ?
                                        function() {
                                            return {
                                                eligible: !0
                                            }
                                        }: O,
                                    R = n.logger,
                                    N = void 0 === R ? {
                                        info: Wn
                                    }: R,
                                    x = n.exports,
                                    L = void 0 === x ? Wn: x,
                                    S = n.method,
                                    _ = n.children,
                                    B = void 0 === _ ?
                                        function() {
                                            return {}
                                        }: _,
                                    F = e.replace(/-/g, "_"),
                                    k = P({},
                                        {
                                            window: {
                                                type: "object",
                                                sendToChild: !1,
                                                required: !1,
                                                allowDelegate: !0,
                                                validate: function(n) {
                                                    var e = n.value;
                                                    if (!vn(e) && !go.isProxyWindow(e)) throw new Error("Expected Window or ProxyWindow");
                                                    if (vn(e)) {
                                                        if (sn(e)) throw new Error("Window is closed");
                                                        if (!Q(e)) throw new Error("Window is not same domain")
                                                    }
                                                },
                                                decorate: function(n) {
                                                    return Io(n.value)
                                                }
                                            },
                                            timeout: {
                                                type: "number",
                                                required: !1,
                                                sendToChild: !1
                                            },
                                            cspNonce: {
                                                type: "string",
                                                required: !1
                                            },
                                            onDisplay: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                allowDelegate: !0,
                                                default:
                                                ai,
                                                decorate: ui
                                            },
                                            onRendered: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                default:
                                                ai,
                                                decorate: ui
                                            },
                                            onRender: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                default:
                                                ai,
                                                decorate: ui
                                            },
                                            onPrerendered: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                default:
                                                ai,
                                                decorate: ui
                                            },
                                            onPrerender: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                default:
                                                ai,
                                                decorate: ui
                                            },
                                            onClose: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                allowDelegate: !0,
                                                default:
                                                ai,
                                                decorate: ui
                                            },
                                            onDestroy: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                allowDelegate: !0,
                                                default:
                                                ai,
                                                decorate: ui
                                            },
                                            onResize: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                allowDelegate: !0,
                                                default:
                                                ai
                                            },
                                            onFocus: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                allowDelegate: !0,
                                                default:
                                                ai
                                            },
                                            close: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.close
                                                }
                                            },
                                            focus: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.focus
                                                }
                                            },
                                            resize: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.resize
                                                }
                                            },
                                            uid: {
                                                type: "string",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.uid
                                                }
                                            },
                                            tag: {
                                                type: "string",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.tag
                                                }
                                            },
                                            getParent: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.getParent
                                                }
                                            },
                                            getParentDomain: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.getParentDomain
                                                }
                                            },
                                            show: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.show
                                                }
                                            },
                                            hide: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.hide
                                                }
                                            },
                                            export: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.export
                                                }
                                            },
                                            onError: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.onError
                                                }
                                            },
                                            onProps: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.onProps
                                                }
                                            },
                                            getSiblings: {
                                                type: "function",
                                                required: !1,
                                                sendToChild: !1,
                                                childDecorate: function(n) {
                                                    return n.getSiblings
                                                }
                                            }
                                        },
                                        a);
                                if (!b) throw new Error("Container template required");
                                return {
                                    name: F,
                                    tag: e,
                                    url: t,
                                    domain: r,
                                    bridgeUrl: o,
                                    method: S,
                                    propsDef: k,
                                    dimensions: c,
                                    autoResize: p,
                                    allowedParentDomains: h,
                                    attributes: m,
                                    defaultContext: v,
                                    containerTemplate: b,
                                    prerenderTemplate: T,
                                    validate: A,
                                    logger: N,
                                    eligible: C,
                                    children: B,
                                    exports: "function" == typeof L ? L: function(n) {
                                        for (var e = n.getExports,
                                                 t = {},
                                                 r = function(n, r) {
                                                     var o = r[n],
                                                         i = L[o].type,
                                                         a = e().then((function(n) {
                                                             return n[o]
                                                         }));
                                                     t[o] = "function" === i ?
                                                         function() {
                                                             for (var n = arguments.length,
                                                                      e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                             return a.then((function(n) {
                                                                 return n.apply(void 0, e)
                                                             }))
                                                         }: a
                                                 },
                                                 o = 0, i = Object.keys(L); o < i.length; o++) r(o, i);
                                        return t
                                    },
                                    getExtensions: l
                                }
                            } (n),
                            o = r.name,
                            i = r.tag,
                            a = r.defaultContext,
                            u = r.propsDef,
                            l = r.eligible,
                            s = r.children,
                            c = r.getExtensions,
                            d = jo(window),
                            p = {},
                            f = [],
                            h = function() {
                                if (function(n) {
                                    try {
                                        return Qo(window.name).name === n
                                    } catch(n) {}
                                    return ! 1
                                } (o)) {
                                    var n = ei().payload;
                                    if (n.tag === i && gn(n.childDomainMatch, $())) return ! 0
                                }
                                return ! 1
                            },
                            g = Mn((function() {
                                if (h()) {
                                    if (window.xprops) throw delete d.components[i],
                                        new Error("Can not register " + o + " as child - child already registered");
                                    var n = function(n) {
                                        var e, t = n.tag,
                                            r = n.propsDef,
                                            o = n.autoResize,
                                            i = n.allowedParentDomains,
                                            a = [],
                                            u = ei(),
                                            l = u.parent,
                                            s = u.payload,
                                            c = l.win,
                                            d = l.domain,
                                            p = new H,
                                            f = s.version,
                                            h = s.uid,
                                            g = s.exports,
                                            m = s.context,
                                            y = s.props;
                                        if (!
                                            function(n, e) {
                                                if (!/_/.test(n) || !/_/.test("10_4_0")) throw new Error("Versions are in an invalid format (" + n + ", 10_4_0)");
                                                return n.split("_")[0] === "10_4_0".split("_")[0]
                                            } (f)) throw new Error("Parent window has zoid version " + f + ", child window has version 10_4_0");
                                        var v = g.show,
                                            w = g.hide,
                                            b = g.close,
                                            E = g.onError,
                                            T = g.checkClose,
                                            A = g.export,
                                            O = g.resize,
                                            C = g.init,
                                            R = function() {
                                                return c
                                            },
                                            N = function() {
                                                return d
                                            },
                                            x = function(n) {
                                                return a.push(n),
                                                    {
                                                        cancel: function() {
                                                            a.splice(a.indexOf(n), 1)
                                                        }
                                                    }
                                            },
                                            L = function(n) {
                                                return O.fireAndForget({
                                                    width: n.width,
                                                    height: n.height
                                                })
                                            },
                                            S = function(n) {
                                                return p.resolve(n),
                                                    A(n)
                                            },
                                            _ = function(n) {
                                                var r = (void 0 === n ? {}: n).anyParent,
                                                    o = [],
                                                    i = e.parent;
                                                if (void 0 === r && (r = !i), !r && !i) throw new Error("No parent found for " + t + " child");
                                                for (var a = 0,
                                                         u = an(window); a < u.length; a++) {
                                                    var l = u[a];
                                                    if (Q(l)) {
                                                        var s = nn(l).xprops;
                                                        if (s && R() === s.getParent()) {
                                                            var c = s.parent;
                                                            if (r || !i || c && c.uid === i.uid) {
                                                                var d = zo(l, (function(n) {
                                                                    return n.exports
                                                                }));
                                                                o.push({
                                                                    props: s,
                                                                    exports: d
                                                                })
                                                            }
                                                        }
                                                    }
                                                }
                                                return o
                                            },
                                            P = function(n, o, i) {
                                                void 0 === i && (i = !1);
                                                var u = function(n, e, t, r, o, i) {
                                                    void 0 === i && (i = !1);
                                                    for (var a = {},
                                                             u = 0,
                                                             l = Object.keys(t); u < l.length; u++) {
                                                        var s = l[u],
                                                            c = e[s],
                                                            d = c && c.trustedDomains && c.trustedDomains.length > 0 ? c.trustedDomains.reduce((function(n, e) {
                                                                return n || gn(e, $(window))
                                                            }), !1) : r === $(window) || Q(n);
                                                        if ((!c || !c.sameDomain || d) && (!c || !c.trustedDomains || d)) {
                                                            var p = ri(e, 0, s, t[s], o);
                                                            a[s] = p,
                                                            c && c.alias && !a[c.alias] && (a[c.alias] = p)
                                                        }
                                                    }
                                                    if (!i) for (var f = 0,
                                                                     h = Object.keys(e); f < h.length; f++) {
                                                        var g = h[f];
                                                        t.hasOwnProperty(g) || (a[g] = ri(e, 0, g, void 0, o))
                                                    }
                                                    return a
                                                } (c, r, n, o, {
                                                        tag: t,
                                                        show: v,
                                                        hide: w,
                                                        close: b,
                                                        focus: oi,
                                                        onError: E,
                                                        resize: L,
                                                        getSiblings: _,
                                                        onProps: x,
                                                        getParent: R,
                                                        getParentDomain: N,
                                                        uid: h,
                                                        export: S
                                                    },
                                                    i);
                                                e ? Zn(e, u) : e = u;
                                                for (var l = 0; l < a.length; l++)(0, a[l])(e)
                                            },
                                            B = function(n) {
                                                return H.
                                                try ((function() {
                                                    return P(n, d, !0)
                                                }))
                                            };
                                        return {
                                            init: function() {
                                                return H.
                                                try ((function() {
                                                    var e = "";
                                                    return Q(c) && (e = function(n) {
                                                        var e = n.componentName,
                                                            t = n.parentComponentWindow,
                                                            r = Go({
                                                                data: Qo(window.name).serializedInitialPayload,
                                                                sender: {
                                                                    win: t
                                                                },
                                                                basic: !0
                                                            }),
                                                            o = r.sender;
                                                        if ("uid" === r.reference.type || "global" === r.metaData.windowRef.type) {
                                                            var i = $o({
                                                                name: e,
                                                                serializedPayload: Yo({
                                                                    data: r.data,
                                                                    metaData: {
                                                                        windowRef: ti(t)
                                                                    },
                                                                    sender: {
                                                                        domain: o.domain
                                                                    },
                                                                    receiver: {
                                                                        win: window,
                                                                        domain: $()
                                                                    },
                                                                    basic: !0
                                                                }).serializedData
                                                            });
                                                            return window.name = i,
                                                                i
                                                        }
                                                    } ({
                                                        componentName: n.name,
                                                        parentComponentWindow: c
                                                    }) || ""),
                                                        jo(window).exports = n.exports({
                                                            getExports: function() {
                                                                return p
                                                            }
                                                        }),
                                                        function(n, e) {
                                                            if (!gn(n, e)) throw new Error("Can not be rendered by domain: " + e)
                                                        } (i, d),
                                                        ro(c),
                                                        window.addEventListener("beforeunload", (function() {
                                                            T.fireAndForget()
                                                        })),
                                                        window.addEventListener("unload", (function() {
                                                            T.fireAndForget()
                                                        })),
                                                        yn(c, (function() {
                                                            ii()
                                                        })),
                                                        C({
                                                            name: e,
                                                            updateProps: B,
                                                            close: ii
                                                        })
                                                })).then((function() {
                                                    return (n = o.width, e = void 0 !== n && n, t = o.height, r = void 0 !== t && t, i = o.element, Se(void 0 === i ? "body": i).
                                                    catch(Wn).then((function(n) {
                                                        return {
                                                            width: e,
                                                            height: r,
                                                            element: n
                                                        }
                                                    }))).then((function(n) {
                                                        var e = n.width,
                                                            t = n.height,
                                                            r = n.element;
                                                        r && (e || t) && m !== Jo.POPUP && Ye(r, (function(n) {
                                                            L({
                                                                width: e ? n.width: void 0,
                                                                height: t ? n.height: void 0
                                                            })
                                                        }), {
                                                            width: e,
                                                            height: t
                                                        })
                                                    }));
                                                    var n, e, t, r, i
                                                })).
                                                catch((function(n) {
                                                    E(n)
                                                }))
                                            },
                                            getProps: function() {
                                                return e || (P(y, d), e)
                                            }
                                        }
                                    } (r);
                                    return n.init(),
                                        n
                                }
                            })),
                            m = function n(e) {
                                var t, u = "zoid-" + i + "-" + Bn(),
                                    d = e || {},
                                    p = l({
                                        props: d
                                    }),
                                    h = p.eligible,
                                    g = p.reason,
                                    m = d.onDestroy;
                                d.onDestroy = function() {
                                    if (t && h && f.splice(f.indexOf(t), 1), m) return m.apply(void 0, arguments)
                                };
                                var y = ci({
                                    uid: u,
                                    options: r
                                });
                                y.init(),
                                    h ? y.setProps(d) : d.onDestroy && d.onDestroy(),
                                    vi.register((function(n) {
                                        return y.destroy(n || new Error("zoid destroyed all components"))
                                    }));
                                var v = function(e) {
                                        var t = (void 0 === e ? {}: e).decorate;
                                        return n((void 0 === t ? Qn: t)(d))
                                    },
                                    w = function(n, e, r) {
                                        return H.
                                        try ((function() {
                                            if (!h) {
                                                var e = new Error(g || o + " component is not eligible");
                                                return y.destroy(e).then((function() {
                                                    throw e
                                                }))
                                            }
                                            if (!vn(n)) throw new Error("Must pass window to renderTo");
                                            return function(n, e) {
                                                return H.
                                                try ((function() {
                                                    if (n.window) return Io(n.window).getType();
                                                    if (e) {
                                                        if (e !== Jo.IFRAME && e !== Jo.POPUP) throw new Error("Unrecognized context: " + e);
                                                        return e
                                                    }
                                                    return a
                                                }))
                                            } (d, r)
                                        })).then((function(o) {
                                            if (e = function(n, e) {
                                                if (e) {
                                                    if ("string" != typeof e && !xn(e)) throw new TypeError("Expected string or element selector to be passed");
                                                    return e
                                                }
                                                if (n === Jo.POPUP) return "body";
                                                throw new Error("Expected element to be passed to render iframe")
                                            } (o, e), n !== window && "string" != typeof e) throw new Error("Must pass string element when rendering to another window");
                                            return y.render({
                                                target: n,
                                                container: e,
                                                context: o,
                                                rerender: function() {
                                                    var o = v();
                                                    return Zn(t, o),
                                                        o.renderTo(n, e, r)
                                                }
                                            })
                                        })).
                                        catch((function(n) {
                                            return y.destroy(n).then((function() {
                                                throw n
                                            }))
                                        }))
                                    };
                                return t = P({},
                                    c(y), y.getExports(), y.getHelpers(),
                                    function() {
                                        for (var n = s(), e = {},
                                                 t = function(t, r) {
                                                     var o = r[t],
                                                         i = n[o];
                                                     e[o] = function(n) {
                                                         var e = y.getProps(),
                                                             t = P({},
                                                                 n, {
                                                                     parent: {
                                                                         uid: u,
                                                                         props: e,
                                                                         export: y.export
                                                                     }
                                                                 });
                                                         return i(t)
                                                     }
                                                 },
                                                 r = 0, o = Object.keys(n); r < o.length; r++) t(r, o);
                                        return e
                                    } (), {
                                        isEligible: function() {
                                            return h
                                        },
                                        clone: v,
                                        render: function(n, e) {
                                            return w(window, n, e)
                                        },
                                        renderTo: function(n, e, t) {
                                            return w(n, e, t)
                                        }
                                    }),
                                h && f.push(t),
                                    t
                            };
                        if (g(), e = _o("zoid_allow_delegate_" + o, (function() {
                            return ! 0
                        })), t = _o("zoid_delegate_" + o, (function(n) {
                            var e = n.data;
                            return {
                                parent: ci({
                                    uid: e.uid,
                                    options: r,
                                    overrides: e.overrides,
                                    parentWin: n.source
                                })
                            }
                        })), wi.register(e.cancel), wi.register(t.cancel), d.components = d.components || {},
                            d.components[i]) throw new Error("Can not register multiple components with the same tag: " + i);
                        return d.components[i] = !0,
                            {
                                init: m,
                                instances: f,
                                driver: function(n, e) {
                                    var t = {
                                        react: di,
                                        angular: hi,
                                        vue: pi,
                                        vue3: fi,
                                        angular2: gi
                                    };
                                    if (!t[n]) throw new Error("Could not find driver for framework: " + n);
                                    return p[n] || (p[n] = t[n].register(i, u, m, e)),
                                        p[n]
                                },
                                isChild: h,
                                canRenderTo: function(n) {
                                    return Bo(n, "zoid_allow_delegate_" + o).then((function(n) {
                                        return n.data
                                    })).
                                    catch((function() {
                                        return ! 1
                                    }))
                                },
                                registerChild: g
                            }
                    }
                    var Ei = function(n) {
                        Uo();
                        var e = bi(n),
                            t = function(n) {
                                return e.init(n)
                            };
                        t.driver = function(n, t) {
                            return e.driver(n, t)
                        },
                            t.isChild = function() {
                                return e.isChild()
                            },
                            t.canRenderTo = function(n) {
                                return e.canRenderTo(n)
                            },
                            t.instances = e.instances;
                        var r = e.registerChild();
                        return r && (window.xprops = t.xprops = r.getProps()),
                            t
                    };
                    function Ti(n) {
                        var e = vi.all(n);
                        return vi = pe(),
                            e
                    }
                    var Ai = Ti;
                    function Oi(n) {
                        var e;
                        return Ai(),
                            e = Wo(),
                            delete window[e],
                            Mo(),
                            wi.all(n)
                    }
                    var Ci = function(n) {
                        function e(e) {
                            var t;
                            return (t = n.call(this, e) || this).code = void 0,
                                t.name = "ValidationError",
                                t.code = "validation_error",
                                t
                        }
                        return _(e, n),
                            e
                    } (Nn(Error));
                    function Ri() {
                        if (!hr()) throw new Error("Can only determine if iframe rendering is allowed on paypal domain");
                        if (!R()) return ! 0;
                        var n = window.xprops && window.xprops.getParent();
                        return ! (!n || !Q(n))
                    }
                    var Ni = function(n) {
                        return hr() ? n: void 0
                    };
                    function xi() {
                        return window.xprops && window.xprops.sessionID ? window.xprops.sessionID: Rr()
                    }
                    var Li = {
                            get: function(n) {
                                return Nr((function(e) {
                                    return H.resolve(e[n])
                                }))
                            },
                            set: function(n, e) {
                                return Nr((function(t) {
                                    return t[n] = e,
                                        H.resolve(e)
                                }))
                            }
                        },
                        Si = {
                            get: function(n) {
                                return Lr((function(e) {
                                    return H.resolve(e[n])
                                }))
                            },
                            set: function(n, e) {
                                return Lr((function(t) {
                                    return t[n] = e,
                                        H.resolve(e)
                                }))
                            }
                        },
                        _i = {
                            PAYPAL: "paypal",
                            CHECKOUT: "checkout",
                            BUYNOW: "buynow",
                            PAY: "pay",
                            INSTALLMENT: "installment",
                            SUBSCRIBE: "subscribe",
                            DONATE: "donate"
                        },
                        Pi = {
                            REBRAND_BLUE: "rebrand_blue",
                            REBRAND_DARKBLUE: "rebrand_darkblue",
                            REBRAND_BLACK: "rebrand_black",
                            REBRAND_WHITE: "rebrand_white"
                        },
                        Bi = P({
                                DEFAULT: "default",
                                GOLD: "gold",
                                BLUE: "blue",
                                SILVER: "silver",
                                DARKBLUE: "darkblue",
                                BLACK: "black",
                                WHITE: "white"
                            },
                            Pi),
                        Fi = {
                            TINY: "tiny",
                            SMALL: "small",
                            MEDIUM: "medium",
                            LARGE: "large",
                            HUGE: "huge",
                            RESPONSIVE: "responsive"
                        },
                        ki = {
                            HORIZONTAL: "horizontal",
                            VERTICAL: "vertical"
                        },
                        Di = {
                            PAY_LATER_LONG_TERM: "pay_later_long_term",
                            PAY_LATER_SHORT_TERM: "pay_later_short_term"
                        },
                        Ii = {
                            BLACK: "black",
                            WHITE: "white"
                        },
                        Ui = {
                            TOP: "top",
                            BOTTOM: "bottom"
                        },
                        Mi = {
                            CENTER: "center",
                            LEFT: "left",
                            RIGHT: "right"
                        },
                        qi = "default",
                        Hi = {
                            ONAPPROVE: "onApprove",
                            ONCANCEL: "onCancel",
                            ONERROR: "onError"
                        },
                        Wi = {
                            CONTAINER: "paypal-button-container",
                            AUTORESIZE_CONTAINER: "paypal-autoresize-container",
                            BUTTON_ROW: "paypal-button-row",
                            BUTTON: "paypal-button",
                            BUTTON_REBRAND: "paypal-button-rebrand",
                            BUTTON_LABEL: "paypal-button-label-container",
                            LOGO_PP: "paypal-logo-pp",
                            LOGO_PP_REBRAND: "paypal-logo-pp-rebrand",
                            LOGO: "paypal-logo",
                            LOGO_REBRAND: "paypal-logo-paypal-rebrand",
                            REBRAND: "paypal-rebrand",
                            LABEL: "paypal-button-label",
                            COLOR: "paypal-button-color",
                            TEXT_COLOR: "paypal-button-text-color",
                            SHAPE: "paypal-button-shape",
                            BORDER_RADIUS: "paypal-button-border-radius",
                            LAYOUT: "paypal-button-layout",
                            NUMBER: "paypal-button-number",
                            ENV: "paypal-button-env",
                            WALLET: "paypal-button-wallet",
                            WALLET_MENU: "paypal-button-wallet-menu",
                            LOADING: "paypal-button-loading",
                            SPINNER: "paypal-button-spinner",
                            TAGLINE: "paypal-button-tagline",
                            POWERED_BY: "paypal-powered-by",
                            TEXT: "paypal-button-text",
                            SPACE: "paypal-button-space",
                            CARD: "paypal-button-card",
                            PERSONALIZATION_TEXT: "paypal-personalization-text",
                            VAULT_LABEL: "paypal-vault-label",
                            VAULT_HEADER: "paypal-vault-header",
                            SEPARATOR: "paypal-separator",
                            DOM_READY: "dom-ready",
                            HIDDEN: "hidden",
                            IMMEDIATE: "immediate",
                            BUTTON_MESSAGE: "paypal-button-message",
                            BUTTON_MESSAGE_RESERVE: "paypal-button-message-reserved"
                        };
                    function ji() {
                        try {
                            var n = Object.fromEntries(new URLSearchParams(window.location.search)),
                                e = n.token,
                                t = n.PayerID,
                                r = n.vaultSetupToken || n.approval_token_id || n.approval_session_id;
                            return r || e ? {
                                checkoutState: t ? "onApprove": "onCancel",
                                payerID: t,
                                orderID: e,
                                vaultSetupToken: r,
                                buttonSessionID: n.button_session_id,
                                fundingSource: n.fundingSource
                            }: null
                        } catch(n) {
                            return null
                        }
                    }
                    function zi() {
                        var n = window.location.hash && String(window.location.hash).slice(1);
                        if (!n) return ji();
                        var e = "",
                            t = "";
                        if ( - 1 !== n.indexOf("?")) {
                            var r = n.split("?");
                            e = r[0],
                                t = r[1]
                        } else {
                            var o = n.indexOf("&"); - 1 !== o ? (e = n.slice(0, o), t = n.slice(o + 1)) : e = n
                        }
                        if (! [Hi.ONAPPROVE, Hi.ONCANCEL, Hi.ONERROR].includes(e)) return ji();
                        var i = be(t);
                        return {
                            orderID: i.token,
                            buttonSessionID: i.button_session_id,
                            payerID: i.PayerID,
                            billingToken: i.billingToken,
                            paymentID: i.paymentID,
                            subscriptionID: i.subscriptionID,
                            fundingSource: i.fundingSource,
                            vaultSetupToken: i.vaultSetupToken || i.approval_token_id || i.approval_session_id,
                            checkoutState: e
                        }
                    }
                    function Ki() {
                        return Boolean(zi())
                    }
                    function Zi(n) {
                        if (window.performance) return performance.getEntriesByName(n.buttonSessionID + "_" + n.phase).pop().startTime;
                        throw new Error("window.performance not supported")
                    }
                    var Vi = function(n) {
                        window.performance && window.performance.mark && window.performance.mark(n.buttonSessionID + "_" + n.phase)
                    };
                    function Yi(n, e) {
                        for (var t = [], r = 0; r < n.length; r++) {
                            var o = n[r].render(e);
                            if (o) if (Array.isArray(o)) for (var i = 0; i < o.length; i++) {
                                var a = o[i];
                                a && t.push(a)
                            } else t.push(o)
                        }
                        return t
                    }
                    var Gi = function() {
                            function n(n, e, t) {
                                this.type = "element",
                                    this.name = void 0,
                                    this.props = void 0,
                                    this.children = void 0,
                                    this.onRender = void 0,
                                    this.name = n,
                                    this.props = e || {},
                                    this.children = t;
                                var r = this.props.onRender;
                                "function" == typeof r && (this.onRender = r, delete e.onRender)
                            }
                            var e = n.prototype;
                            return e.render = function(n) {
                                var e = n(this);
                                return this.onRender && this.onRender(e),
                                    e
                            },
                                e.renderChildren = function(n) {
                                    return Yi(this.children, n)
                                },
                                n
                        } (),
                        Xi = function() {
                            function n(n) {
                                this.type = "fragment",
                                    this.children = void 0,
                                    this.children = n
                            }
                            return n.prototype.render = function(n) {
                                return Yi(this.children, n)
                            },
                                n
                        } (),
                        Ji = function() {
                            function n(n) {
                                this.type = "text",
                                    this.text = void 0,
                                    this.text = n
                            }
                            return n.prototype.render = function(n) {
                                return n(this)
                            },
                                n
                        } (),
                        $i = function() {
                            function n(n, e, t) {
                                this.type = "component",
                                    this.component = void 0,
                                    this.props = void 0,
                                    this.children = void 0,
                                    this.component = n,
                                    this.props = e || {},
                                    this.children = t,
                                    this.props.children = t
                            }
                            var e = n.prototype;
                            return e.renderComponent = function(n) {
                                var e = function(n) {
                                    var e = Qi(Array.isArray(n) ? n: [n]);
                                    return 1 === e.length ? e[0] : e.length > 1 ? new Xi(e) : void 0
                                } (this.component(this.props, this.children));
                                if (e) return e.render(n)
                            },
                                e.render = function(n) {
                                    return n(this)
                                },
                                e.renderChildren = function(n) {
                                    return Yi(this.children, n)
                                },
                                n
                        } ();
                    function Qi(n) {
                        for (var e = [], t = 0; t < n.length; t++) {
                            var r = n[t];
                            if (r) if ("string" == typeof r || "number" == typeof r) e.push(new Ji(r.toString()));
                            else {
                                if ("boolean" == typeof r) continue;
                                if (Array.isArray(r)) for (var o = 0,
                                                               i = Qi(r); o < i.length; o++) e.push(i[o]);
                                else {
                                    if (!r || "element" !== r.type && "text" !== r.type && "component" !== r.type) throw new TypeError("Unrecognized node type: " + typeof r);
                                    e.push(r)
                                }
                            }
                        }
                        return e
                    }
                    var na, ea, ta, ra = function(n, e) {
                            for (var t = arguments.length,
                                     r = new Array(t > 2 ? t - 2 : 0), o = 2; o < t; o++) r[o - 2] = arguments[o];
                            if (r = Qi(r), "string" == typeof n) return new Gi(n, e, r);
                            if ("function" == typeof n) return new $i(n, e, r);
                            throw new TypeError("Expected jsx element to be a string or a function")
                        },
                        oa = function(n, e) {
                            return e
                        },
                        ia = ((na = {}).svg = "http://www.w3.org/2000/svg", na),
                        aa = ((ea = {})["xlink:href"] = "http://www.w3.org/1999/xlink", ea);
                    function ua(n, e) {
                        return n.createTextNode(e.text)
                    }
                    function la(n, e) {
                        for (var t = e.props,
                                 r = 0,
                                 o = Object.keys(t); r < o.length; r++) {
                            var i = o[r],
                                a = t[i];
                            if (null != a && "el" !== i && "innerHTML" !== i) if (i.match(/^on[A-Z][a-z]/) && "function" == typeof a) n.addEventListener(i.slice(2).toLowerCase(), a);
                            else if ("string" == typeof a || "number" == typeof a) {
                                var u = aa[i];
                                u ? n.setAttributeNS(u, i, a.toString()) : n.setAttribute(i, a.toString())
                            } else "boolean" == typeof a && !0 === a && n.setAttribute(i, "")
                        }
                        "iframe" !== n.tagName.toLowerCase() || t.id || n.setAttribute("id", "jsx-iframe-" + "xxxxxxxxxx".replace(/./g, (function() {
                            return "0123456789abcdef".charAt(Math.floor(Math.random() * "0123456789abcdef".length))
                        })))
                    }
                    var sa = ((ta = {}).iframe = function(n, e) {
                        var t = e.children[0];
                        if (1 !== e.children.length || !t || "element" !== t.type || "html" !== t.name) throw new Error("Expected only single html element node as child of iframe element");
                        n.addEventListener("load", (function() {
                            var e = n.contentWindow;
                            if (!e) throw new Error("Expected frame to have contentWindow");
                            for (var r = e.document,
                                     o = r.documentElement; o.children && o.children.length;) o.removeChild(o.children[0]);
                            for (var i = t.render(da({
                                doc: r
                            })); i.children.length;) o.appendChild(i.children[0])
                        }))
                    },
                        ta.script = function(n, e) {
                            var t = e.children[0];
                            if (1 !== e.children.length || !t || "text" !== t.type) throw new Error("Expected only single text node as child of script element");
                            n.text = t.text
                        },
                        ta.
                            default = function(n, e, t) {
                            for (var r = 0,
                                     o = e.renderChildren(t); r < o.length; r++) n.appendChild(o[r])
                        },
                        ta);
                    function ca(n, e, t, r) {
                        if (e.props.hasOwnProperty("innerHTML")) {
                            if (e.children.length) throw new Error("Expected no children to be passed when innerHTML prop is set");
                            var o = e.props.innerHTML;
                            if ("string" != typeof o) throw new TypeError("innerHTML prop must be string");
                            "script" === e.name ? n.text = o: (n.innerHTML = o,
                                function(n, e) {
                                    void 0 === e && (e = window.document);
                                    for (var t = 0,
                                             r = n.querySelectorAll("script"); t < r.length; t++) {
                                        var o = r[t],
                                            i = o.parentNode;
                                        if (i) {
                                            var a = e.createElement("script");
                                            a.text = o.textContent,
                                                i.replaceChild(a, o)
                                        }
                                    }
                                } (n, t))
                        } else(sa[e.name] || sa.
                            default)(n, e, r)
                    }
                    function da(n) {
                        void 0 === n && (n = {});
                        var e = n.doc,
                            t = void 0 === e ? document: e;
                        return function n(e) {
                            if ("component" === e.type) return e.renderComponent(n);
                            if ("text" === e.type) return ua(t, e);
                            if ("element" === e.type) {
                                var r = ia[e.name.toLowerCase()];
                                if (r) return function n(e, r) {
                                    if ("component" === e.type) return e.renderComponent((function(e) {
                                        return n(e, r)
                                    }));
                                    if ("text" === e.type) return ua(t, e);
                                    if ("element" === e.type) {
                                        var o = function(n, e, t) {
                                            return n.createElementNS(t, e.name)
                                        } (t, e, r);
                                        return la(o, e),
                                            ca(o, e, t, (function(e) {
                                                return n(e, r)
                                            })),
                                            o
                                    }
                                    throw new TypeError("Unhandleable node")
                                } (e, r);
                                var o = function(n, e) {
                                    return e.props.el ? e.props.el: n.createElement(e.name)
                                } (t, e);
                                return la(o, e),
                                    ca(o, e, t, n),
                                    o
                            }
                            throw new TypeError("Unhandleable node")
                        }
                    }
                    var pa = {
                        br: !0
                    };
                    function fa(n) {
                        return n.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/\//g, "&#x2F;")
                    }
                    function ha(n) {
                        var e = n.css,
                            t = n.nonce,
                            r = n.children;
                        return ra(oa, null, ra("style", {
                            innerHTML: "string" == typeof e ? e: e._getCss(),
                            nonce: t
                        }), r)
                    }
                    var ga = ["svg", "cdnUrl"],
                        ma = ["render", "name", "logoColor"],
                        ya = ["render", "name"];
                    function va(n) {
                        var e = n.svg,
                            t = n.cdnUrl,
                            r = l(n, ga);
                        if (t) {
                            var o = P({
                                    src: t
                                },
                                r);
                            return ra("img", o)
                        }
                        if (!e) throw new TypeError("Expected svg prop");
                        if ("string" != typeof(e = e.render((function n(e) {
                            if ("component" === e.type) return [].concat(e.renderComponent(n)).join("");
                            if ("element" === e.type) {
                                var t = (o = e.props, (i = Object.keys(o).filter((function(n) {
                                    var e = o[n];
                                    return "innerHTML" !== n && ("string" == typeof e || "number" == typeof e || !0 === e)
                                }))).length ? " " + i.map((function(n) {
                                    var e = o[n];
                                    if (!0 === e) return "" + fa(n);
                                    if ("string" != typeof e && "number" != typeof e) throw new TypeError("Unexpected prop type: " + typeof e);
                                    return "" === e ? fa(n) : fa(n) + '="' + fa(e.toString()) + '"'
                                })).join(" ") : "");
                                if (pa[e.name]) return "<" + e.name + t + " />";
                                var r = "string" == typeof e.props.innerHTML ? e.props.innerHTML: e.renderChildren(n).join("");
                                return "<" + e.name + t + ">" + r + "</" + e.name + ">"
                            }
                            var o, i;
                            if ("text" === e.type) return fa(e.text);
                            throw new TypeError("Unhandleable node: " + e.type)
                        })))) throw new TypeError("Expected svg prop to be a string or jsx node");
                        var i = P({
                                src: Jn(e)
                            },
                            r);
                        return ra("img", i)
                    }
                    function wa(n) {
                        var e = n.render,
                            t = n.name,
                            r = n.logoColor,
                            o = l(n, ma);
                        return ra(va, P({},
                            o, {
                                svg: e ? e() : null,
                                alt: "",
                                class: "paypal-logo paypal-logo-" + t + " " + (r ? "paypal-logo-color-" + r: "")
                            }))
                    }
                    function ba(n) {
                        var e = n.render,
                            t = n.name,
                            r = l(n, ya);
                        return ra(va, P({},
                            r, {
                                svg: e ? e() : null,
                                alt: re(t),
                                class: "paypal-logo-card paypal-logo-card-" + t
                            }))
                    }
                    function Ea(n, e, t) {
                        var r;
                        if (t && (r = e[t]), r || (r = e.
                            default), !r) throw new Error("No " + (t || "default") + " logo available for " + n);
                        return r
                    }
                    function Ta(n, e, t) {
                        return ! e || t && e[t] || (t = "default"),
                        "https://www.paypalobjects.com/js-sdk-logos/2.3.2/" +
                        function(n, e) {
                            return e ? n + "-" + e + ".svg": n + ".svg"
                        } (n, t)
                    }
                    var Aa, Oa = ["logoColor"],
                        Ca = ((Aa = {}).
                            default = {
                            primary: "#ffffff",
                            secondary: "#ffffff"
                        },
                            Aa.white = {
                                primary: "#ffffff",
                                secondary: "#ffffff"
                            },
                            Aa.black = {
                                primary: "#000000",
                                secondary: "#000000"
                            },
                            Aa);
                    function Ra(n) {
                        if (null == n) throw new TypeError("Cannot destructure undefined")
                    }
                    function Na(n) {
                        var e = P({},
                                (Ra(n), n)),
                            t = Ta("applepay-mark");
                        return ra(wa, P({},
                            e, {
                                name: "applepay",
                                alt: "Apple Pay mark",
                                "aria-label": "Apple Pay mark",
                                cdnUrl: t
                            }))
                    }
                    var xa, La, Sa = ["logoColor"],
                        _a = ((xa = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#FFFFFF",
                            tertiary: "#FFFFFF",
                            quaternary: "#FFFFFF"
                        },
                            xa.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF",
                                tertiary: "#FFFFFF",
                                quaternary: "#FFFFFF"
                            },
                            xa.black = {
                                primary: "#1E3764",
                                secondary: "#005AB9",
                                tertiary: "#FBA900",
                                quaternary: "#FFD800"
                            },
                            xa),
                        Pa = ["logoColor"],
                        Ba = ((La = {}).
                            default = {
                            primary: "#142C8E"
                        },
                            La);
                    function Fa(n) {
                        var e = void 0 === n ? {}: n,
                            t = e.logoColor,
                            r = l(e, Pa),
                            o = Ta("bank", Ba, t);
                        return ra(wa, P({},
                            r, {
                                name: "bank",
                                cdnUrl: o
                            }))
                    }
                    function ka(n) {
                        var e = void 0 === n ? {}: n,
                            t = P({},
                                (Ra(e), e)),
                            r = Ta("amex");
                        return ra(ba, P({},
                            t, {
                                name: "amex",
                                cdnUrl: r
                            }))
                    }
                    function Da(n) {
                        var e = void 0 === n ? {}: n,
                            t = P({},
                                (Ra(e), e)),
                            r = Ta("discover");
                        return ra(ba, P({},
                            t, {
                                name: "discover",
                                cdnUrl: r
                            }))
                    }
                    function Ia(n) {
                        var e = void 0 === n ? {}: n,
                            t = P({},
                                (Ra(e), e)),
                            r = Ta("elo");
                        return ra(ba, P({},
                            t, {
                                name: "elo",
                                cdnUrl: r
                            }))
                    }
                    function Ua(n) {
                        var e = void 0 === n ? {}: n,
                            t = P({},
                                (Ra(e), e)),
                            r = Ta("hiper");
                        return ra(ba, P({},
                            t, {
                                name: "hiper",
                                cdnUrl: r
                            }))
                    }
                    function Ma(n) {
                        var e = void 0 === n ? {}: n,
                            t = P({},
                                (Ra(e), e)),
                            r = Ta("jcb");
                        return ra(ba, P({},
                            t, {
                                name: "jcb",
                                cdnUrl: r
                            }))
                    }
                    function qa(n) {
                        var e = void 0 === n ? {}: n,
                            t = P({},
                                (Ra(e), e)),
                            r = Ta("mastercard");
                        return ra(ba, P({},
                            t, {
                                name: "mastercard",
                                cdnUrl: r
                            }))
                    }
                    function Ha(n) {
                        var e = void 0 === n ? {}: n,
                            t = P({},
                                (Ra(e), e)),
                            r = Ta("visa");
                        return ra(ba, P({},
                            t, {
                                name: "visa",
                                cdnUrl: r
                            }))
                    }
                    var Wa, ja = ["logoColor"],
                        za = ((Wa = {}).
                            default = {
                            primary: "#333030"
                        },
                            Wa.white = {
                                primary: "#ffffff"
                            },
                            Wa.black = {
                                primary: "#333030"
                            },
                            Wa);
                    function Ka(n) {
                        var e = void 0 === n ? {}: n,
                            t = e.logoColor,
                            r = l(e, ja),
                            o = Ta("card", za, t);
                        return ra(ba, P({},
                            r, {
                                name: "",
                                cdnUrl: o
                            }))
                    }
                    var Za, Va = ["logoColor"],
                        Ya = ((Za = {}).
                            default = {
                            primary: "#000000"
                        },
                            Za.white = {
                                primary: "#FFFFFF"
                            },
                            Za.black = {
                                primary: "#000000"
                            },
                            Za);
                    function Ga(n) {
                        var e = void 0 === n ? {}: n,
                            t = e.logoColor,
                            r = l(e, Va),
                            o = Ta("card-rebrand", Ya, t);
                        return ra(wa, P({},
                            r, {
                                name: "card-rebrand",
                                cdnUrl: o
                            }))
                    }
                    var Xa, Ja = ["logoColor", "locale"],
                        $a = ((Xa = {}).
                            default = {
                            primary: "#003087"
                        },
                            Xa.blue = {
                                primary: "#003087"
                            },
                            Xa.white = {
                                primary: "#ffffff"
                            },
                            Xa.black = {
                                primary: "#333030"
                            },
                            Xa);
                    function Qa(n) {
                        var e = n.logoColor,
                            t = n.locale,
                            r = l(n, Ja),
                            o = Ta("credit", $a, t.country === ct.DE ? ct.DE + "-" + e: e);
                        return ra(wa, P({},
                            r, {
                                name: "credit",
                                logoColor: e,
                                cdnUrl: o
                            }))
                    }
                    function nu(n) {
                        var e = P({},
                                (Ra(n), n)),
                            t = Ta("credit-mark");
                        return ra(wa, P({},
                            e, {
                                name: "credit",
                                cdnUrl: t
                            }))
                    }
                    var eu, tu, ru, ou, iu, au, uu, lu = ["logoColor"],
                        su = ((eu = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#FFFFFF"
                        },
                            eu.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF"
                            },
                            eu.black = {
                                primary: "#C8036F",
                                secondary: "#71706F"
                            },
                            eu),
                        cu = ["logoColor"],
                        du = ((tu = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#003A7D",
                            tertiary: "#ED1C24",
                            quaternary: "#FFFFFF",
                            quinary: "#FFFFFF"
                        },
                            tu.white = {
                                primary: "#000000",
                                secondary: "#FFFFFF",
                                tertiary: "#FFFFFF",
                                quaternary: "#000000",
                                quinary: "#FFFFFF"
                            },
                            tu.black = {
                                primary: "#FFFFFF",
                                secondary: "#003A7D",
                                tertiary: "#ED1C24",
                                quaternary: "#FFFFFF",
                                quinary: "#003A7D"
                            },
                            tu),
                        pu = ["logoColor"],
                        fu = ((ru = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#CC0066"
                        },
                            ru.white = {
                                primary: "#FFFFFF",
                                secondary: "#CC0066"
                            },
                            ru.black = {
                                primary: "#FFFFFF",
                                secondary: "#CC0066"
                            },
                            ru),
                        hu = ["logoColor"],
                        gu = ((ou = {}).
                            default = {
                            primary: "#00C0EE",
                            secondary: "#FFFFFF"
                        },
                            ou.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF"
                            },
                            ou.black = {
                                primary: "#00C0EE",
                                secondary: "#1A4B67"
                            },
                            ou),
                        mu = ["logoColor"],
                        yu = ((iu = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#FFFFFF"
                        },
                            iu.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF"
                            },
                            iu.black = {
                                primary: "#B3B1B1",
                                secondary: "#D03238"
                            },
                            iu),
                        vu = ["logoColor"],
                        wu = ["logoColor"],
                        bu = ((au = {}).
                            default = {
                            primary: "#003087",
                            secondary: "#009cde"
                        },
                            au.blue = {
                                primary: "#003087",
                                secondary: "#009cde"
                            },
                            au.white = {
                                primary: "#ffffff",
                                secondary: "#ffffff"
                            },
                            au.black = {
                                primary: "#333030",
                                secondary: "#636363"
                            },
                            au.monochrome = {
                                primary: "#000000",
                                secondary: "#000000"
                            },
                            au);
                    function Eu(n) {
                        var e = n.logoColor,
                            t = void 0 === e ? "default": e,
                            r = l(n, vu),
                            o = Ta("paypal", bu, t);
                        return ra(wa, P({},
                            r, {
                                name: "paypal",
                                alt: "PayPal",
                                role: "presentation",
                                logoColor: t,
                                cdnUrl: o
                            }))
                    }
                    var Tu = ((uu = {}).
                        default = {
                        primary: "#009cde",
                        secondary: "#012169",
                        tertiary: "#003087"
                    },
                        uu.blue = {
                            primary: "#009cde",
                            secondary: "#012169",
                            tertiary: "#003087"
                        },
                        uu.white = {
                            primary: "#ffffff",
                            primaryOpacity: "0.7",
                            secondary: "#ffffff",
                            secondaryOpacity: "0.7",
                            tertiary: "#ffffff"
                        },
                        uu.black = {
                            primary: "#808080",
                            secondary: "#000000",
                            tertiary: "#1a1a1a"
                        },
                        uu);
                    function Au(n) {
                        var e = n.logoColor,
                            t = void 0 === e ? "default": e,
                            r = l(n, wu),
                            o = Ta("pp", Tu, t);
                        return ra(wa, P({},
                            r, {
                                name: "pp",
                                alt: "PP",
                                role: "presentation",
                                logoColor: t,
                                cdnUrl: o
                            }))
                    }
                    function Ou(n) {
                        var e = P({},
                                (Ra(n), n)),
                            t = Ta("paypal-mark");
                        return ra(wa, P({},
                            e, {
                                name: "pp",
                                cdnUrl: t
                            }))
                    }
                    var Cu, Ru, Nu, xu = ["logoColor"],
                        Lu = ((Cu = {}).
                            default = {
                            main: "#005DA0",
                            card: "#AEB1BC"
                        },
                            Cu.white = {
                                main: "#FFFFFF",
                                card: "#FFFFFF"
                            },
                            Cu.black = {
                                main: "#333030",
                                card: "#333030"
                            },
                            Cu),
                        Su = ["logoColor"],
                        _u = ((Ru = {}).
                            default = {
                            primary: "#EDEDED",
                            secondary: "#393A41"
                        },
                            Ru.white = {
                                primary: "#FFFFFF",
                                secondary: "#000000"
                            },
                            Ru.black = {
                                primary: "#393A41",
                                secondary: "#EDEDED"
                            },
                            Ru),
                        Pu = ["logoColor"],
                        Bu = ["logoColor"],
                        Fu = ((Nu = {}).
                            default = {
                            primary: "#3D93CE"
                        },
                            Nu.blue = {
                                primary: "#3D93CE"
                            },
                            Nu.white = {
                                primary: "#ffffff"
                            },
                            Nu.black = {
                                primary: "#333030"
                            },
                            Nu);
                    function ku(n) {
                        var e = n.logoColor,
                            t = void 0 === e ? "default": e,
                            r = l(n, Pu),
                            o = Ta("venmo", Fu, t);
                        return ra(wa, P({},
                            r, {
                                name: "venmo",
                                logoColor: t,
                                cdnUrl: o
                            }))
                    }
                    var Du, Iu, Uu, Mu, qu, Hu, Wu, ju, zu, Ku, Zu, Vu, Yu, Gu = function(n) {
                            var e = n.logoColor,
                                t = void 0 === e ? "default": e,
                                r = l(n, Bu),
                                o = function(n) {
                                    return ra("svg", {
                                            width: "101",
                                            height: "32",
                                            viewBox: "0 0 101 32",
                                            xmlns: "http://www.w3.org/2000/svg",
                                            preserveAspectRatio: "xMinYMin meet"
                                        },
                                        ra("g", {
                                                id: "Page-1",
                                                stroke: "none",
                                                "stroke-width": "1",
                                                fill: "none",
                                                "fill-rule": "evenodd"
                                            },
                                            ra("g", {
                                                    id: "Blue",
                                                    fill: n.primary
                                                },
                                                ra("g", {
                                                        id: "Logo",
                                                        transform: "translate(0.000000, 6.000000)"
                                                    },
                                                    ra("path", {
                                                        d: "M16.6660484,0.18 C17.3466626,1.3390991 17.6535069,2.53297297 17.6535069,4.04108108 C17.6535069,8.85117117 13.671346,15.0998198 10.439346,19.4875676 L3.05725952,19.4875676 L0.0966314879,1.23315315 L6.56045675,0.60036036 L8.12578201,13.5895495 C9.58835986,11.1326126 11.3932543,7.27153153 11.3932543,4.6390991 C11.3932543,3.1981982 11.1538599,2.21675676 10.7797405,1.40864865 L16.6660484,0.18 Z M24.9071592,11.6938739 C24.9071592,13.8367568 26.062718,14.6774775 27.5946678,14.6774775 C29.2629152,14.6774775 30.860218,14.2571171 32.9363097,13.1691892 L32.154346,18.6445045 C30.6915934,19.3814414 28.4119291,19.8731532 26.1991903,19.8731532 C20.5863512,19.8731532 18.5775346,16.3632432 18.5775346,11.9753153 C18.5775346,6.28810811 21.8451817,0.249369369 28.5819516,0.249369369 C32.2909931,0.249369369 34.3649879,2.39207207 34.3649879,5.37567568 C34.3653374,10.1855856 28.3783789,11.6590991 24.9071592,11.6938739 Z M25.0434567,8.2181982 C26.2329152,8.2181982 29.2274429,7.65711712 29.2274429,5.90216216 C29.2274429,5.05945946 28.6495761,4.6390991 27.9686125,4.6390991 C26.7772318,4.6390991 25.2138287,6.11225225 25.0434567,8.2181982 Z M53.0187093,4.4636036 C53.0187093,5.16558559 52.9154377,6.18378378 52.8126903,6.84918919 L50.8730709,19.4873874 L44.5790934,19.4873874 L46.3483408,7.90216216 C46.381891,7.58792793 46.4849879,6.95531532 46.4849879,6.60432432 C46.4849879,5.76162162 45.9743962,5.55135135 45.3605329,5.55135135 C44.5451938,5.55135135 43.7279325,5.93711712 43.1836159,6.21873874 L41.1768962,19.4875676 L34.8474464,19.4875676 L37.7390519,0.565945946 L43.2171661,0.565945946 L43.2865381,2.07621622 C44.5789187,1.19873874 46.2807163,0.24972973 48.6952803,0.24972973 C51.8942543,0.249369369 53.0187093,1.93495495 53.0187093,4.4636036 Z M71.7037093,2.32072072 C73.5063322,0.988108108 75.2084792,0.249369369 77.5554187,0.249369369 C80.7872439,0.249369369 81.9113495,1.93495495 81.9113495,4.4636036 C81.9113495,5.16558559 81.8084273,6.18378378 81.7056799,6.84918919 L79.7683322,19.4873874 L73.4726073,19.4873874 L75.2755796,7.6572973 C75.3087803,7.34108108 75.3785017,6.95531532 75.3785017,6.71063063 C75.3785017,5.7618018 74.8677353,5.55135135 74.2540467,5.55135135 C73.4722578,5.55135135 72.6908183,5.90234234 72.1106799,6.21873874 L70.1043097,19.4875676 L63.8101574,19.4875676 L65.6131298,7.65747748 C65.6463304,7.34126126 65.713955,6.9554955 65.713955,6.71081081 C65.713955,5.76198198 65.2030138,5.55153153 64.5914221,5.55153153 C63.7743356,5.55153153 62.9588218,5.9372973 62.4145052,6.21891892 L60.4062128,19.4877477 L54.0788599,19.4877477 L56.9701159,0.566126126 L62.3813045,0.566126126 L62.551327,2.14576577 C63.8101574,1.1990991 65.5105571,0.25009009 67.7900467,0.25009009 C69.7637405,0.249369369 71.0559464,1.12702703 71.7037093,2.32072072 Z M83.55059,11.7998198 C83.55059,5.83279279 86.6120433,0.249369369 93.6558322,0.249369369 C98.9633997,0.249369369 100.903543,3.47981982 100.903543,7.93873874 C100.903543,13.8365766 97.8751159,19.9443243 90.6614792,19.9443243 C85.3196626,19.9443243 83.55059,16.3281081 83.55059,11.7998198 Z M94.4374464,7.83279279 C94.4374464,6.28810811 94.0628028,5.23495495 92.9409689,5.23495495 C90.4570329,5.23495495 89.9469654,9.76306306 89.9469654,12.0794595 C89.9469654,13.8367568 90.4238322,14.9243243 91.5453166,14.9243243 C93.8931298,14.9243243 94.4374464,10.149009 94.4374464,7.83279279 Z"
                                                    })))))
                                } (Ea("venmo", Fu, t));
                            return ra(wa, P({},
                                r, {
                                    name: "venmo",
                                    logoColor: t,
                                    render: function() {
                                        return o
                                    }
                                }))
                        },
                        Xu = ["logoColor"],
                        Ju = ((Du = {}).
                            default = {
                            primary: "#ffffff"
                        },
                            Du.blue = {
                                primary: "#003087"
                            },
                            Du.white = {
                                primary: "#ffffff"
                            },
                            Du.black = {
                                primary: "#333030"
                            },
                            Du),
                        $u = ["logoColor"],
                        Qu = ((Iu = {}).
                            default = {
                            primary: "#1AAD19",
                            secondary: "#FFFFFF"
                        },
                            Iu.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF"
                            },
                            Iu.black = {
                                primary: "#1AAD19",
                                secondary: "#4D4D4D"
                            },
                            Iu),
                        nl = ["logoColor"],
                        el = ((Uu = {}).
                            default = {
                            primary: "#A6C307"
                        },
                            Uu.white = {
                                primary: "#FFFFFF"
                            },
                            Uu.black = {
                                primary: "#2C2E2F"
                            },
                            Uu),
                        tl = ["logoColor"],
                        rl = ((Mu = {}).
                            default = {
                            primary: "#FF0000",
                            secondary: "#E83E49",
                            tertiary: "#FF00FF",
                            quaternary: "#000000",
                            senary: "#FFFFFF"
                        },
                            Mu.white = {
                                primary: "#000000",
                                secondary: "#000000",
                                tertiary: "#000000",
                                quaternary: "#000000",
                                senary: "#FFFFFF"
                            },
                            Mu.black = {
                                primary: "#FF0000",
                                secondary: "#E83E49",
                                tertiary: "#FF00FF",
                                quaternary: "#4D4D4F",
                                senary: "#FFFFFF"
                            },
                            Mu),
                        ol = ["logoColor"],
                        il = ((qu = {}).
                            default = {
                            primary: "#0EE06E"
                        },
                            qu.white = {
                                primary: "#FFFFFF"
                            },
                            qu.black = {
                                primary: "#000000"
                            },
                            qu),
                        al = ["logoColor"],
                        ul = ((Hu = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#FFFFFF"
                        },
                            Hu.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF"
                            },
                            Hu.black = {
                                primary: "#E39E39",
                                secondary: "#D8232A"
                            },
                            Hu),
                        ll = ["logoColor"],
                        sl = ((Wu = {}).
                            default = {
                            primary: "#FFFFFF"
                        },
                            Wu.white = {
                                primary: "#FFFFFF"
                            },
                            Wu.black = {
                                primary: "#000000"
                            },
                            Wu),
                        cl = ["logoColor"],
                        dl = ((ju = {}).
                            default = {
                            primary: "#009EE3",
                            secondary: "#FFFFFF",
                            tertiary: "#009EE3",
                            quaternary: "#FFFFFF"
                        },
                            ju.white = {
                                primary: "#000000",
                                secondary: "#FFFFFF",
                                tertiary: "#000000",
                                quaternary: "#FFFFFF"
                            },
                            ju.black = {
                                primary: "#FFFFFF",
                                secondary: "#2D3277",
                                tertiary: "#009EE3",
                                quaternary: "#009EE3"
                            },
                            ju),
                        pl = ["logoColor"],
                        fl = ((zu = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#FFFFFF"
                        },
                            zu.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF"
                            },
                            zu.black = {
                                primary: "#1866AB",
                                secondary: "#373535"
                            },
                            zu),
                        hl = ["logoColor"],
                        gl = ((Ku = {}).
                            default = {
                            primary: "#FFFFFF"
                        },
                            Ku.white = {
                                primary: "#FFFFFF"
                            },
                            Ku.black = {
                                primary: "#2C2E2F"
                            },
                            Ku),
                        ml = ["logoColor"],
                        yl = ((Zu = {}).
                            default = {
                            primary: "#FFFFFF",
                            secondary: "#FFFFFF",
                            tertiary: "#FFFFFF"
                        },
                            Zu.white = {
                                primary: "#FFFFFF",
                                secondary: "#FFFFFF",
                                tertiary: "#FFFFFF"
                            },
                            Zu.black = {
                                primary: "#A6009C",
                                secondary: "#FF009C",
                                tertiary: "#1C1C1C"
                            },
                            Zu),
                        vl = ["logoColor"],
                        wl = ["logoColor"],
                        bl = ["logoColor"],
                        El = ((Vu = {}).
                            default = {
                            primary: "#000000"
                        },
                            Vu.black = {
                                primary: "#000000"
                            },
                            Vu.white = {
                                primary: "#FFFFFF"
                            },
                            Vu.blue = {
                                primary: "#60CDFF"
                            },
                            Vu);
                    function Tl(n) {
                        var e = n.logoColor,
                            t = void 0 === e ? "default": e,
                            r = l(n, vl),
                            o = Ta("paypal-rebrand", El, t);
                        return ra(wa, P({},
                            r, {
                                name: "paypal-rebrand",
                                alt: "PayPal",
                                role: "presentation",
                                logoColor: t,
                                cdnUrl: o
                            }))
                    }
                    var Al = function(n) {
                            var e = n.logoColor,
                                t = void 0 === e ? "default": e,
                                r = l(n, wl),
                                o = function(n) {
                                    var e = n.primary;
                                    return ra("svg", {
                                            xmlns: "http://www.w3.org/2000/svg",
                                            width: "108",
                                            height: "45",
                                            viewBox: "0 0 108 45",
                                            fill: "none"
                                        },
                                        ra("path", {
                                            d: "M104.656 7.89856V33.5476H98.8477V7.89856H104.656Z",
                                            fill: e
                                        }), ra("path", {
                                            d: "M96.7049 16.5479V33.5835H91.5403V32.1174C90.8889 32.7549 90.1426 33.2409 89.3134 33.5835C88.4803 33.9461 87.5801 34.1293 86.6127 34.1293C85.3966 34.1293 84.2713 33.9022 83.2368 33.4481C82.2023 32.97 81.3021 32.3246 80.5361 31.5079C79.7701 30.6911 79.162 29.735 78.7119 28.6473C78.2855 27.5358 78.0723 26.3406 78.0723 25.0697C78.0723 23.7988 78.2855 22.6156 78.7119 21.5279C79.162 20.4164 79.7701 19.4483 80.5361 18.6316C81.3021 17.8148 82.2023 17.1774 83.2368 16.7232C84.2713 16.2451 85.3966 16.0061 86.6127 16.0061C87.5801 16.0061 88.4803 16.1894 89.3134 16.5519C90.1465 16.8945 90.8889 17.3806 91.5403 18.018V16.5519H96.7049V16.5479ZM87.5524 28.9501C88.6106 28.9501 89.4753 28.5876 90.1505 27.8585C90.8494 27.1334 91.1968 26.2012 91.1968 25.0657C91.1968 23.9303 90.8494 22.998 90.1505 22.2729C89.4753 21.5479 88.6067 21.1813 87.5524 21.1813C86.4982 21.1813 85.6177 21.5439 84.9188 22.2729C84.2437 22.998 83.9041 23.9303 83.9041 25.0657C83.9041 26.2012 84.2437 27.1334 84.9188 27.8585C85.6177 28.5836 86.4943 28.9501 87.5524 28.9501Z",
                                            fill: e
                                        }), ra("path", {
                                            d: "M69.7903 7.89478C71.3223 7.89478 72.6253 8.10991 73.7072 8.54018C74.789 8.97046 75.7011 9.57204 76.4434 10.3449C77.2094 11.1417 77.8056 12.0501 78.2321 13.07C78.6585 14.0939 78.8717 15.1935 78.8717 16.3767C78.8717 17.56 78.6585 18.6596 78.2321 19.6834C77.8056 20.7073 77.2094 21.6157 76.4434 22.4085C75.7011 23.1814 74.789 23.783 73.7072 24.2133C72.6253 24.6435 71.3223 24.8587 69.7903 24.8587H66.987V33.5796H61.0762V7.89478H69.7864H69.7903ZM68.9454 19.5799C69.7351 19.5799 70.3392 19.5002 70.7696 19.3408C71.2197 19.1576 71.5908 18.9305 71.883 18.6596C72.4911 18.0898 72.7951 17.3289 72.7951 16.3767C72.7951 15.4245 72.4911 14.6636 71.883 14.0939C71.5908 13.823 71.2197 13.6039 70.7696 13.4485C70.3431 13.2652 69.7351 13.1776 68.9454 13.1776H66.987V19.5838H68.9454V19.5799Z",
                                            fill: e
                                        }), ra("path", {
                                            d: "M39.3086 16.5476H45.7248L50.0799 24.7228H50.1471L54.0284 16.5476H59.9707L47.241 42.2365H41.3302L47.1384 30.4837L39.3047 16.5476H39.3086Z",
                                            fill: e
                                        }), ra("path", {
                                            d: "M38.158 16.5479V33.5835H32.9935V32.1174C32.342 32.7549 31.5957 33.2409 30.7666 33.5835C29.9334 33.9461 29.0332 34.1293 28.0658 34.1293C26.8497 34.1293 25.7244 33.9022 24.6899 33.4481C23.6554 32.97 22.7552 32.3246 21.9892 31.5079C21.2232 30.6911 20.6152 29.735 20.165 28.6473C19.7386 27.5358 19.5254 26.3406 19.5254 25.0697C19.5254 23.7988 19.7386 22.6156 20.165 21.5279C20.6152 20.4164 21.2232 19.4483 21.9892 18.6316C22.7552 17.8148 23.6554 17.1774 24.6899 16.7232C25.7244 16.2451 26.8497 16.0061 28.0658 16.0061C29.0332 16.0061 29.9334 16.1894 30.7666 16.5519C31.5997 16.8945 32.342 17.3806 32.9935 18.018V16.5519H38.158V16.5479ZM29.0056 28.9501C30.0637 28.9501 30.9284 28.5876 31.6076 27.8585C32.3064 27.1334 32.6539 26.2012 32.6539 25.0657C32.6539 23.9303 32.3064 22.998 31.6076 22.2729C30.9324 21.5479 30.0637 21.1813 29.0056 21.1813C27.9474 21.1813 27.0708 21.5439 26.372 22.2729C25.6968 22.998 25.3572 23.9303 25.3572 25.0657C25.3572 26.2012 25.6968 27.1334 26.372 27.8585C27.0708 28.5836 27.9474 28.9501 29.0056 28.9501Z",
                                            fill: e
                                        }), ra("path", {
                                            d: "M11.4846 7.89478C13.0166 7.89478 14.3196 8.10991 15.4015 8.54018C16.4833 8.97046 17.3954 9.57204 18.1377 10.3449C18.9037 11.1417 19.4999 12.0501 19.9264 13.07C20.3528 14.0939 20.566 15.1935 20.566 16.3767C20.566 17.56 20.3528 18.6596 19.9264 19.6834C19.4999 20.7073 18.9037 21.6157 18.1377 22.4085C17.3954 23.1814 16.4833 23.783 15.4015 24.2133C14.3196 24.6435 13.0166 24.8587 11.4846 24.8587H8.68126V33.5796H2.77441V7.89478H11.4846ZM10.6436 19.5799C11.4333 19.5799 12.0374 19.5002 12.4678 19.3408C12.9179 19.1576 13.2891 18.9305 13.5812 18.6596C14.1893 18.0898 14.4933 17.3289 14.4933 16.3767C14.4933 15.4245 14.1893 14.6636 13.5812 14.0939C13.2891 13.823 12.9179 13.6039 12.4678 13.4485C12.0414 13.2652 11.4333 13.1776 10.6436 13.1776H8.6852V19.5838H10.6436V19.5799Z",
                                            fill: e
                                        }))
                                } (Ea("paypal-rebrand", El, t));
                            return ra(wa, P({},
                                r, {
                                    name: "paypal-rebrand",
                                    alt: "PayPal",
                                    role: "presentation",
                                    logoColor: t,
                                    render: function() {
                                        return o
                                    }
                                }))
                        },
                        Ol = ((Yu = {}).
                            default = {
                            primary: "#002991",
                            secondary: "#60CDFF",
                            tertiary: "#008CFF"
                        },
                            Yu.blue = {
                                primary: "#002991",
                                secondary: "#60CDFF",
                                tertiary: "#008CFF"
                            },
                            Yu.white = {
                                primary: "#F3F3F3",
                                secondary: "#898989",
                                tertiary: "#B8B8B8"
                            },
                            Yu.black = {
                                primary: "#0D0D0D",
                                secondary: "#808080",
                                tertiary: "#4D4D4D"
                            },
                            Yu);
                    function Cl(n) {
                        var e = n.logoColor,
                            t = void 0 === e ? "default": e,
                            r = l(n, bl),
                            o = Ta("pp-rebrand", Ol, t);
                        return ra(wa, P({},
                            r, {
                                name: "pp-rebrand",
                                alt: "PP",
                                role: "presentation",
                                logoColor: t,
                                cdnUrl: o
                            }))
                    }
                    var Rl, Nl = ["logoColor"],
                        xl = ((Rl = {}).
                            default = {
                            primary: "#008CFF"
                        },
                            Rl.blue = {
                                primary: "#008CFF"
                            },
                            Rl.white = {
                                primary: "#ffffff"
                            },
                            Rl);
                    function Ll(n) {
                        var e = P({},
                                (Ra(n), n)),
                            t = Ta("credit-rebrand-mark");
                        return ra(wa, P({},
                            e, {
                                name: "credit-rebrand-mark",
                                cdnUrl: t,
                                alt: "PayPal Credit",
                                role: "presentation"
                            }))
                    }
                    function Sl(n) {
                        var e = P({},
                                (Ra(n), n)),
                            t = Ta("paylater-rebrand-mark");
                        return ra(wa, P({},
                            e, {
                                name: "paylater-rebrand-mark",
                                cdnUrl: t,
                                alt: "PayPal PayLater",
                                role: "presentation"
                            }))
                    }
                    function _l(n) {
                        var e = P({},
                                (Ra(n), n)),
                            t = Ta("bancontact-rebrand-mark");
                        return ra(wa, P({},
                            e, {
                                name: "bancontact-rebrand-mark",
                                cdnUrl: t
                            }))
                    }
                    function Pl(n) {
                        var e = n.context,
                            t = n.close,
                            r = n.focus,
                            o = n.event,
                            i = n.frame,
                            a = n.prerenderFrame,
                            u = n.content,
                            l = void 0 === u ? {}: u,
                            c = n.autoResize,
                            d = n.hideCloseButton,
                            p = n.nonce,
                            f = n.fullScreen,
                            h = void 0 !== f && f,
                            g = n.isUnbrandedFlow,
                            y = void 0 !== g && g,
                            v = "paypal-overlay-" + Bn(),
                            w = "__paypal_checkout_sandbox_" + v + "__";
                        function b(n) {
                            var e, t, o, i, a, u;
                            n.preventDefault(),
                                n.stopPropagation(),
                            R() && (E() || (void 0 === u && (u = s()), !/iPhone|iPod/.test(u) && (/iPad/.test(u) || x(u) && navigator.maxTouchPoints >= 1)) ? window.alert("Please switch tabs to reactivate the PayPal window") : m() && (a = null == (i = null == (o = null == (e = document.getElementsByName(w)) ? void 0 : e[0]) ? void 0 : o.contentWindow.document) || null == (t = i.getElementsByClassName("paypal-checkout-focus-warning-hidden")) ? void 0 : t[0]) && (a.innerText = 'Still can\'t see it? Select "Window" in your toolbar to find "Log in to your PayPal account"', a.classList.remove("paypal-checkout-focus-warning-hidden")), r())
                        }
                        var T, A = function(n) {
                            return function(e) {
                                o.on("zoid-display", (function() {
                                    return je(e, "show-" + n, Wn)
                                })),
                                    o.on("zoid-close", (function() {
                                        return je(e, "hide-" + n, Wn)
                                    }))
                            }
                        };
                        return i && a && (i.classList.add("component-frame"), a.classList.add("prerender-frame"), a.classList.add("visible"), i.classList.add("invisible"), o.on("zoid-rendered", (function() {
                            a.classList.remove("visible"),
                                a.classList.add("invisible"),
                                i.classList.remove("invisible"),
                                i.classList.add("visible"),
                                setTimeout((function() {
                                    Ze(a)
                                }), 1)
                        })), T = ra("div", {
                                class: "outlet",
                                onRender: function(n) {
                                    A("component")(n),
                                    c &&
                                    function(n) {
                                        o.on("zoid-resize", (function(e) {
                                            var t = e.width,
                                                r = e.height;
                                            "number" == typeof t && (n.style.width = at(t)),
                                            "number" == typeof r && (n.style.height = at(r))
                                        }))
                                    } (n)
                                }
                            },
                            ra("node", {
                                el: i
                            }), ra("node", {
                                el: a
                            }))),
                            ra("div", {
                                    id: v,
                                    onRender: A("container"),
                                    class: "paypal-checkout-sandbox"
                                },
                                ra("style", {
                                        nonce: p
                                    },
                                    function(n) {
                                        var e = n.uid;
                                        return "\n        #" + e + ".paypal-checkout-sandbox {\n            display: block;\n            position: fixed;\n            top: 0;\n            left: 0;\n\n            width: 100%;\n            height: 100%;\n            width: 100vw;\n            height: 100vh;\n            max-width: 100%;\n            max-height: 100%;\n            min-width: 100%;\n            min-height: 100%;\n\n            z-index: 2147483647;\n\n            animation-duration: 0.3s;\n            animation-iteration-count: 1;\n            animation-fill-mode: forwards !important;\n            opacity: 0;\n        }\n\n        #" + e + ".paypal-checkout-sandbox .paypal-checkout-sandbox-iframe {\n            display: block;\n            position: absolute;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n        }\n\n        #" + e + ".paypal-checkout-sandbox .paypal-checkout-sandbox-iframe-full {\n            border: 0;\n            height: 100%;\n            width: 100vw;\n        }\n\n        @keyframes show-container {\n            from {\n                opacity: 0;\n            }\n\n            to {\n                opacity: 1;\n            }\n        }\n\n        @keyframes hide-container {\n            from {\n                opacity: 1;\n            }\n\n            50% {\n                opacity: 1;\n            }\n\n            to {\n                opacity: 0;\n            }\n        }\n    "
                                    } ({
                                        uid: v
                                    })), ra("iframe", {
                                        title: "PayPal Checkout Overlay",
                                        name: w,
                                        scrolling: "no",
                                        class: "paypal-checkout-sandbox-iframe" + (h ? "-full": "")
                                    },
                                    ra("html", null, ra("body", null, ra("div", {
                                        dir: "auto",
                                        id: v,
                                        onClick: b,
                                        class: "paypal-overlay-context-" + e + " paypal-checkout-overlay"
                                    },
                                        !d && ra("a", {
                                            href: "#",
                                            class: "paypal-checkout-close",
                                            onClick: function(n) {
                                                n.preventDefault(),
                                                    n.stopPropagation(),
                                                    t()
                                            },
                                            "aria-label": "close",
                                            role: "button"
                                        }), !h && ra("div", {
                                            class: "paypal-checkout-modal"
                                        },
                                        y ? null: ra("div", {
                                                class: "paypal-checkout-logo",
                                                dir: "ltr"
                                            },
                                            ra(Al, {
                                                logoColor: "white"
                                            })), l.windowMessage && ra("div", {
                                            class: "paypal-checkout-message"
                                        },
                                        l.windowMessage), ra("div", {
                                            class: "paypal-checkout-focus-warning paypal-checkout-focus-warning-hidden"
                                        }), l.continueMessage && ra("div", {
                                            class: "paypal-checkout-continue"
                                        },
                                        ra("a", {
                                                onClick: b,
                                                href: "#"
                                            },
                                            l.continueMessage)), ra("div", {
                                                class: "paypal-checkout-loader"
                                            },
                                            ra("div", {
                                                class: "paypal-spinner"
                                            }))), ra("div", {
                                                class: h ? "paypal-checkout-iframe-container-full": "paypal-checkout-iframe-container"
                                            },
                                            T), ra("style", {
                                                nonce: p
                                            },
                                            function(n) {
                                                var e = n.uid;
                                                return "\n        #" + e + " {\n            position: absolute;\n            z-index: 2147483647;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n\n            transform: translate3d(0, 0, 0);\n\n            background-color: black;\n            background-color: rgba(0, 0, 0, 0.8);\n            background: radial-gradient(84.48% 50% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.75) 100%);\n\n            color: #fff;\n        }\n\n        #" + e + " a {\n            color: #fff;\n        }\n\n        #" + e + " .paypal-checkout-close:before,\n        #" + e + " .paypal-checkout-close:after {\n            background-color: #fff;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.POPUP + " {\n            cursor: pointer;\n        }\n\n        #" + e + " a {\n            text-decoration: none;\n        }\n\n        #" + e + ' .paypal-checkout-modal {\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            text-align: center;\n\n            box-sizing: border-box;\n            max-width: 350px;\n            width: 100%;\n            top: 50%;\n            left: 50%;\n            position: absolute;\n            transform: translateX(-50%) translateY(-50%);\n            cursor: pointer;\n            padding: 0 48px\n        }\n\n        #' + e + ".paypal-overlay-loading .paypal-checkout-message, #" + e + ".paypal-overlay-loading .paypal-checkout-continue {\n            display: none;\n        }\n\n        .paypal-checkout-loader {\n            display: none;\n        }\n\n        #" + e + ".paypal-overlay-loading .paypal-checkout-loader {\n            display: block;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-logo {\n            cursor: pointer;\n            margin-bottom: 8px;\n            padding: 4px;\n            display: inline-block;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-logo img {\n            height: 38px;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-logo img.paypal-checkout-logo-pp {\n            margin-right: 10px;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-message {\n            font-size: 14px;\n            line-height: 18px;\n            padding: 8px 0;\n            font-weight: 400;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-message, #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-continue {\n            display: none;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-continue {\n            font-size: 14px;\n            line-height: 18px;\n            padding: 8px 0;\n            font-weight: 500;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-continue a {\n            border-bottom: 1px solid white;\n        }\n\n        #" + e + " .paypal-checkout-close {\n            cursor: pointer;\n            position: absolute;\n            right: 16px;\n            top: 16px;\n            width: 24px;\n            height: 24px;\n        }\n\n        #" + e + ".paypal-overlay-loading .paypal-checkout-close {\n            display: none;\n        }\n\n        #" + e + " .paypal-checkout-close:hover {\n            opacity: 1;\n        }\n\n        #" + e + " .paypal-checkout-close:before, .paypal-checkout-close:after {\n            position: absolute;\n            left: 11px;\n            top: 2px;\n            content: ' ';\n            height: 20px;\n            width: 2px;\n        }\n\n        #" + e + " .paypal-checkout-close:before {\n            transform: rotate(45deg);\n        }\n\n        #" + e + " .paypal-checkout-close:after {\n            transform: rotate(-45deg);\n        }\n\n        #" + e + ' .paypal-checkout-focus-warning {\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            font-weight: 400;\n            line-height: 18px;\n            padding: 8px 0;\n            display: block;\n        }\n        \n        #' + e + " .paypal-checkout-focus-warning-hidden {\n            display: none;\n        }\n\n        #" + e + " .paypal-checkout-iframe-container {\n            display: none;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container,\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container > .outlet,\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container > .outlet > iframe {\n            max-height: 95vh;\n            max-width: 95vw;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container-full,\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container-full > .outlet,\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container-full > .outlet > iframe {\n            height: 100vh;\n            max-width: 100vw;\n            width: 100vw;\n        }\n\n        @media screen and (max-width: 470px) {\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container,\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container > .outlet,\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container > .outlet > iframe {\n                max-height: 85vh;\n            }\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container-full,\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container-full > .outlet,\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container-full > .outlet > iframe {\n                height: 100vh;\n            }\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container {\n\n            display: block;\n\n            position: absolute;\n\n            top: 50%;\n            left: 50%;\n\n            min-width: 450px;\n\n            transform: translate(-50%, -50%);\n            transform: translate3d(-50%, -50%, 0);\n\n            border-radius: 10px;\n            overflow: hidden;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet {\n\n            position: relative;\n\n            transition: all 0.3s ease;\n            animation-duration: 0.3s;\n            animation-fill-mode: forwards !important;\n\n            min-width: 450px;\n            max-width: 450px;\n            width: 450px;\n            height: 535px;\n\n            background-color: white;\n\n            overflow: auto;\n\n            opacity: 0;\n            transform: scale3d(.3, .3, .3);\n\n            -webkit-overflow-scrolling: touch;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet > iframe {\n            position: absolute;\n            top: 0;\n            left: 0;\n            transition: opacity .4s ease-in-out;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet > iframe.component-frame {\n            z-index: 100;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet > iframe.prerender-frame {\n            z-index: 200;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet > iframe.visible {\n            opacity: 1;\n            z-index: 200;\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet > iframe.invisible {\n            opacity: 0;\n            z-index: 100;\n        }\n\n        @media screen and (max-width: 470px) {\n\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .paypal-checkout-iframe-container,\n            #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet {\n                min-width: 100%;\n                min-width: calc(100% - 20px);\n\n                max-width: 100%;\n                max-width: calc(100% - 20px);\n            }\n        }\n\n        #" + e + ".paypal-overlay-context-" + Jo.IFRAME + " .outlet iframe {\n            width: 1px;\n            min-width: 100%;\n            height: 100%;\n        }\n\n        @keyframes show-component {\n            from {\n                opacity: 0;\n                transform: scale3d(.3, .3, .3);\n            }\n\n            to {\n                opacity: 1;\n                transform: scale3d(1, 1, 1);\n            }\n        }\n\n        @keyframes hide-component {\n            from {\n                opacity: 1;\n                transform: scale3d(1, 1, 1);\n            }\n\n            to {\n                opacity: 0;\n                transform: scale3d(.3, .3, .3);\n            }\n        }\n\n        .paypal-spinner {\n            height: 30px;\n            width: 30px;\n            display: inline-block;\n            box-sizing: content-box;\n            opacity: 1;\n            filter: alpha(opacity=100);\n            animation: rotation .7s infinite linear;\n            border-left: 8px solid rgba(0, 0, 0, .2);\n            border-right: 8px solid rgba(0, 0, 0, .2);\n            border-bottom: 8px solid rgba(0, 0, 0, .2);\n            border-top: 8px solid #fff;\n            border-radius: 100%\n        }\n\n        @keyframes rotation {\n            from {\n                transform: rotate(0deg)\n            }\n            to {\n                transform: rotate(359deg)\n            }\n        }\n    "
                                            } ({
                                                uid: v
                                            })))))))
                    }
                    function Bl(n) {
                        var e = n.context,
                            t = n.close,
                            r = n.focus,
                            o = n.event,
                            i = n.frame,
                            a = n.prerenderFrame,
                            u = n.content,
                            l = void 0 === u ? {}: u,
                            s = n.autoResize,
                            c = n.hideCloseButton,
                            d = n.nonce,
                            p = n.fullScreen,
                            f = void 0 !== p && p,
                            h = "venmo-overlay-" + Bn(),
                            g = "__venmo_checkout_sandbox_" + h + "__";
                        function y(n) {
                            var e, t, o, i, a;
                            n.preventDefault(),
                                n.stopPropagation(),
                            R() && (E() ? window.alert("Please switch tabs to reactivate the Venmo window") : m() && (a = null == (i = null == (o = null == (e = document.getElementsByName(g)) ? void 0 : e[0]) ? void 0 : o.contentWindow.document) || null == (t = i.getElementsByClassName("venmo-checkout-focus-warning-hidden")) ? void 0 : t[0]) && (a.innerText = 'Still can\'t see it? Select "Window" in your toolbar to find "Log in to your Venmo account"', a.classList.remove("venmo-checkout-focus-warning-hidden")), r())
                        }
                        var v, w = function(n) {
                            return function(e) {
                                o.on("zoid-display", (function() {
                                    return je(e, "show-" + n, Wn)
                                })),
                                    o.on("zoid-close", (function() {
                                        return je(e, "hide-" + n, Wn)
                                    }))
                            }
                        };
                        return i && a && (i.classList.add("component-frame"), a.classList.add("prerender-frame"), a.classList.add("visible"), i.classList.add("invisible"), o.on("zoid-rendered", (function() {
                            a.classList.remove("visible"),
                                a.classList.add("invisible"),
                                i.classList.remove("invisible"),
                                i.classList.add("visible"),
                                setTimeout((function() {
                                    Ze(a)
                                }), 1)
                        })), v = ra("div", {
                                class: "outlet",
                                onRender: function(n) {
                                    w("component")(n),
                                    s &&
                                    function(n) {
                                        o.on("zoid-resize", (function(e) {
                                            var t = e.width,
                                                r = e.height;
                                            "number" == typeof t && (n.style.width = at(t)),
                                            "number" == typeof r && (n.style.height = at(r))
                                        }))
                                    } (n)
                                }
                            },
                            ra("node", {
                                el: i
                            }), ra("node", {
                                el: a
                            }))),
                            ra("div", {
                                    id: h,
                                    onRender: w("container"),
                                    class: "venmo-checkout-sandbox"
                                },
                                ra("style", {
                                        nonce: d
                                    },
                                    function(n) {
                                        var e = n.uid;
                                        return "\n        #" + e + ".venmo-checkout-sandbox {\n            display: block;\n            position: fixed;\n            top: 0;\n            left: 0;\n\n            width: 100%;\n            height: 100%;\n            width: 100vw;\n            height: 100vh;\n            max-width: 100%;\n            max-height: 100%;\n            min-width: 100%;\n            min-height: 100%;\n\n            z-index: 2147483647;\n\n            animation-duration: 0.3s;\n            animation-iteration-count: 1;\n            animation-fill-mode: forwards !important;\n            opacity: 0;\n        }\n\n        #" + e + ".venmo-checkout-sandbox .venmo-checkout-sandbox-iframe {\n            display: block;\n            position: absolute;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n        }\n\n        #" + e + ".venmo-checkout-sandbox .venmo-checkout-sandbox-iframe-full {\n            border: 0;\n            height: 100%;\n            width: 100vw;\n        }\n\n        @keyframes show-container {\n            from {\n                opacity: 0;\n            }\n\n            to {\n                opacity: 1;\n            }\n        }\n\n        @keyframes hide-container {\n            from {\n                opacity: 1;\n            }\n\n            50% {\n                opacity: 1;\n            }\n\n            to {\n                opacity: 0;\n            }\n        }\n    "
                                    } ({
                                        uid: h
                                    })), ra("iframe", {
                                        title: "Venmo Checkout Overlay",
                                        name: g,
                                        scrolling: "no",
                                        class: "venmo-checkout-sandbox-iframe" + (f ? "-full": "")
                                    },
                                    ra("html", null, ra("body", null, ra("div", {
                                        id: h,
                                        onClick: y,
                                        class: "venmo-overlay-context-" + e + " venmo-checkout-overlay"
                                    },
                                        !f && ra("div", {
                                                class: "venmo-checkout-modal"
                                            },
                                            ra("div", {
                                                    class: "venmo-checkout-logo"
                                                },
                                                ra(Gu, {
                                                    logoColor: "white"
                                                })), l.interrogativeMessage && ra("div", {
                                                class: "venmo-interrogative-message"
                                            },
                                            l.interrogativeMessage), ra("div", {
                                                class: "venmo-checkout-focus-warning venmo-checkout-focus-warning-hidden"
                                            }), l.windowMessage && ra("div", {
                                                class: "venmo-checkout-message"
                                            },
                                            l.windowMessage), l.continueMessage && ra("div", {
                                                class: "venmo-checkout-continue"
                                            },
                                            ra("a", {
                                                    onClick: y,
                                                    href: "#"
                                                },
                                                l.continueMessage)), l.cancelMessage && !c && ra("div", {
                                                class: "venmo-checkout-close"
                                            },
                                            ra("a", {
                                                    href: "#",
                                                    onClick: function(n) {
                                                        n.preventDefault(),
                                                            n.stopPropagation(),
                                                            t()
                                                    },
                                                    "aria-label": "close"
                                                },
                                                l.cancelMessage)), ra("div", {
                                                    class: "venmo-checkout-loader"
                                                },
                                                ra("div", {
                                                    class: "venmo-spinner"
                                                }))), ra("div", {
                                                class: f ? "venmo-checkout-iframe-container-full": "venmo-checkout-iframe-container"
                                            },
                                            v), ra("style", {
                                                nonce: d
                                            },
                                            function(n) {
                                                var e = n.uid;
                                                return "\n        #" + e + " {\n            position: absolute;\n            z-index: 2147483647;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n\n            transform: translate3d(0, 0, 0);\n\n            background-color: black;\n            background-color: rgba(0, 0, 0, 0.8);\n            background: radial-gradient(84.48% 50% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.75) 100%);\n\n            color: #fff;\n        }\n\n        #" + e + " a {\n            color: #fff;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.POPUP + " {\n            cursor: pointer;\n        }\n\n        #" + e + " a {\n            text-decoration: none;\n        }\n\n        #" + e + " .venmo-checkout-modal {\n            box-sizing: border-box;\n            max-width: 400px;\n            min-width: 300px;\n            max-height: 100%;\n            top: 50%;\n            left: 50%;\n            position: absolute;\n            transform: translateX(-50%) translateY(-50%);\n            cursor: pointer;\n            text-align: center;\n        }\n\n        #" + e + ' .venmo-checkout-modal .venmo-interrogative-message {\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n            font-style: normal;\n            font-size: 24px;\n            line-height: 32px;\n            text-align: center;\n            color: #FFFFFF;\n            margin-top: 32px;\n        }\n\n        #' + e + ".venmo-overlay-loading .venmo-checkout-message, #" + e + ".venmo-overlay-loading .venmo-checkout-continue {\n            display: none;\n        }\n\n        .venmo-checkout-loader {\n            display: none;\n        }\n\n        #" + e + ".venmo-overlay-loading .venmo-checkout-loader {\n            display: block;\n        }\n\n        #" + e + " .venmo-checkout-modal .venmo-checkout-logo {\n            cursor: pointer;\n        }\n\n        #" + e + " .venmo-checkout-modal .venmo-checkout-logo img {\n            height: 46px;\n        }\n\n        #" + e + ' .venmo-checkout-modal .venmo-checkout-message {\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n            font-style: normal;\n            font-weight: 400;\n            font-size: 16px;\n            line-height: 20px;\n            text-align: center;\n            color: #FFFFFF;\n            margin-top: 16px;\n        }\n\n        #' + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-message, #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-continue {\n            display: none;\n        }\n\n        #" + e + ' .venmo-checkout-modal .venmo-checkout-continue {\n            background: #0074DE;\n            border-radius: 24px;\n            border: none;\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n            font-style: normal;\n            font-weight: 700;\n            font-size: 18px;\n            color: #FFFFFF;\n            margin-top: 44px;\n        }\n\n        #' + e + " .venmo-checkout-modal .venmo-checkout-continue a {\n            line-height: 50px;\n        }\n\n        #" + e + ' .venmo-checkout-close {\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n            font-style: normal;\n            font-weight: 700;\n            font-size: 18px;\n            line-height: 24px;\n            text-align: center;\n            background-color: transparent;\n            border: none;\n            color: #FFFFFF;\n            margin-top: 28px;\n        }\n\n        #' + e + ".venmo-overlay-loading .venmo-checkout-close {\n            display: none;\n        }\n\n        #" + e + ' .venmo-checkout-focus-warning {\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n           font-style: normal;\n            font-weight: 400;\n            font-size: 16px;\n            line-height: 20px;\n            text-align: center;\n            margin-top: 16px;\n            display: block;\n        }\n        \n        #' + e + " .venmo-checkout-focus-warning-hidden {\n            display: none;\n        }\n\n        #" + e + " .venmo-checkout-iframe-container {\n            display: none;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container,\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container > .outlet,\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container > .outlet > iframe {\n            max-height: 95vh;\n            max-width: 95vw;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container-full,\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container-full > .outlet,\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container-full > .outlet > iframe {\n            height: 100vh;\n            max-width: 100vw;\n            width: 100vw;\n        }\n\n        @media screen and (max-width: 470px) {\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container,\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container > .outlet,\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container > .outlet > iframe {\n                max-height: 85vh;\n            }\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container-full,\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container-full > .outlet,\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container-full > .outlet > iframe {\n                height: 100vh;\n            }\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container {\n\n            display: block;\n\n            position: absolute;\n\n            top: 50%;\n            left: 50%;\n\n            min-width: 450px;\n\n            transform: translate(-50%, -50%);\n            transform: translate3d(-50%, -50%, 0);\n\n            border-radius: 10px;\n            overflow: hidden;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet {\n\n            position: relative;\n\n            transition: all 0.3s ease;\n            animation-duration: 0.3s;\n            animation-fill-mode: forwards !important;\n\n            min-width: 450px;\n            max-width: 450px;\n            width: 450px;\n            height: 535px;\n\n            background-color: white;\n\n            overflow: auto;\n\n            opacity: 0;\n            transform: scale3d(.3, .3, .3);\n\n            -webkit-overflow-scrolling: touch;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet > iframe {\n            position: absolute;\n            top: 0;\n            left: 0;\n            transition: opacity .4s ease-in-out;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet > iframe.component-frame {\n            z-index: 100;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet > iframe.prerender-frame {\n            z-index: 200;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet > iframe.visible {\n            opacity: 1;\n            z-index: 200;\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet > iframe.invisible {\n            opacity: 0;\n            z-index: 100;\n        }\n\n        @media screen and (max-width: 470px) {\n\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .venmo-checkout-iframe-container,\n            #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet {\n                min-width: 100%;\n                min-width: calc(100% - 20px);\n\n                max-width: 100%;\n                max-width: calc(100% - 20px);\n            }\n        }\n\n        #" + e + ".venmo-overlay-context-" + Jo.IFRAME + " .outlet iframe {\n            width: 1px;\n            min-width: 100%;\n            height: 100%;\n        }\n\n        @keyframes show-component {\n            from {\n                opacity: 0;\n                transform: scale3d(.3, .3, .3);\n            }\n\n            to {\n                opacity: 1;\n                transform: scale3d(1, 1, 1);\n            }\n        }\n\n        @keyframes hide-component {\n            from {\n                opacity: 1;\n                transform: scale3d(1, 1, 1);\n            }\n\n            to {\n                opacity: 0;\n                transform: scale3d(.3, .3, .3);\n            }\n        }\n\n        .venmo-spinner {\n            height: 30px;\n            width: 30px;\n            display: inline-block;\n            box-sizing: content-box;\n            opacity: 1;\n            filter: alpha(opacity=100);\n            animation: rotation .7s infinite linear;\n            border-left: 8px solid rgba(0, 0, 0, .2);\n            border-right: 8px solid rgba(0, 0, 0, .2);\n            border-bottom: 8px solid rgba(0, 0, 0, .2);\n            border-top: 8px solid #fff;\n            border-radius: 100%\n        }\n\n        @keyframes rotation {\n            from {\n                transform: rotate(0deg)\n            }\n            to {\n                transform: rotate(359deg)\n            }\n        }\n    "
                                            } ({
                                                uid: h
                                            })))))))
                    }
                    function Fl() {
                        return "https://www.sandbox.paypal.com/webapps/helios"
                    }
                    function kl() {
                        return "https://www.sandbox.paypal.com/heliosnext"
                    }
                    function Dl() {
                        return Hn(Dl, (function() {
                            var n = Ei({
                                tag: "three-domain-secure",
                                url: Fl,
                                attributes: {
                                    iframe: {
                                        scrolling: "no"
                                    }
                                },
                                containerTemplate: function(n) {
                                    var e = n.doc,
                                        t = n.props;
                                    return ra(Pl, {
                                        context: n.context,
                                        close: n.close,
                                        focus: n.focus,
                                        event: n.event,
                                        frame: n.frame,
                                        prerenderFrame: n.prerenderFrame,
                                        content: t.content,
                                        nonce: t.nonce,
                                        isUnbrandedFlow: !0
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                props: {
                                    action: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function(n) {
                                            return n.props.action ? n.props.action: "verify"
                                        }
                                    },
                                    xcomponent: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function() {
                                            return "1"
                                        }
                                    },
                                    flow: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function() {
                                            return "3ds"
                                        }
                                    },
                                    createOrder: {
                                        type: "function",
                                        queryParam: "cart_id",
                                        queryValue: function(n) {
                                            return H.
                                            try (n.value)
                                        },
                                        required: !1
                                    },
                                    vaultToken: {
                                        type: "string",
                                        queryParam: "token",
                                        queryValue: function(n) {
                                            return n.value
                                        },
                                        required: !1
                                    },
                                    clientID: {
                                        type: "string",
                                        value: It,
                                        queryParam: !0
                                    },
                                    onSuccess: {
                                        type: "function",
                                        alias: "onContingencyResult",
                                        decorate: function(n) {
                                            var e = n.props,
                                                t = n.value,
                                                r = n.onError;
                                            return function(n, o) {
                                                return ("UNBRANDED_GUEST" === (null == e ? void 0 : e.userType) ? Boolean(n) : Boolean(n) || !1 === (null == o ? void 0 : o.success)) ? r(n) : t(o)
                                            }
                                        }
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: "locale.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            var e = n.value;
                                            return e.lang + "_" + e.country
                                        },
                                        value: Qt
                                    },
                                    onCancel: {
                                        type: "function",
                                        required: !1
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    content: {
                                        type: "object",
                                        required: !1
                                    },
                                    userType: {
                                        type: "string",
                                        required: !1
                                    },
                                    nonce: {
                                        type: "string",
                                        default:
                                        nr
                                    },
                                    integrationType: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0
                                    },
                                    go_to: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0
                                    }
                                }
                            });
                            return n.isChild() && (window.xchild = {
                                props: n.xprops,
                                close: Wn
                            }),
                                n
                        }))
                    }
                    function Il(n) {
                        return ra("div", {
                                class: "preloader spinner"
                            },
                            ra("style", {
                                nonce: n.nonce,
                                innerHTML: "\n\n    body {\n        width: 100%;\n        height: 100%;\n        overflow: hidden;\n        position: fixed;\n        top: 0;\n        left: 0;\n        margin: 0;\n    }\n\n    .spinner {\n        height: 100%;\n        width: 100%;\n        position: absolute;\n        z-index: 10\n    }\n\n    .spinner .spinWrap {\n        width: 200px;\n        height: 100px;\n        position: absolute;\n        top: 50%;\n        left: 50%;\n        margin-left: -100px;\n        margin-top: -50px\n    }\n\n    .spinner .loader,\n    .spinner .spinnerImage {\n        height: 100px;\n        width: 100px;\n        position: absolute;\n        top: 0;\n        left: 50%;\n        opacity: 1;\n        filter: alpha(opacity=100)\n    }\n\n    .spinner .spinnerImage {\n        margin: 28px 0 0 -25px;\n        background: url(https://www.paypalobjects.com/images/checkout/hermes/icon_ot_spin_lock_skinny.png) no-repeat\n    }\n\n    .spinner .loader {\n        margin: 0 0 0 -55px;\n        background-color: transparent;\n        animation: rotation .7s infinite linear;\n        border-left: 5px solid #cbcbca;\n        border-right: 5px solid #cbcbca;\n        border-bottom: 5px solid #cbcbca;\n        border-top: 5px solid #2380be;\n        border-radius: 100%\n    }\n\n    @keyframes rotation {\n        from {\n            transform: rotate(0deg)\n        }\n        to {\n            transform: rotate(359deg)\n        }\n    }\n"
                            }), ra("div", {
                                    class: "spinWrap"
                                },
                                ra("p", {
                                    class: "spinnerImage"
                                }), ra("p", {
                                    class: "loader"
                                })))
                    }
                    function Ul(n, e) {
                        var t = n.nonce;
                        return ra("html", null, ra("head", null, ra("title", null, "PayPal"), ra("meta", {
                            name: "viewport",
                            content: "width=device-width, initial-scale=1"
                        })), ra("body", null, ra(Il, {
                            nonce: t
                        }), e))
                    }
                    var Ml = function(n) {
                        return n === lt.VENMO ? {
                            en: {
                                windowMessage: "Tap cancel payment to cancel and return to the business. Continue payment will relaunch the payment window.",
                                continueMessage: "Continue payment",
                                cancelMessage: "Cancel payment",
                                interrogativeMessage: "What would you like to do?"
                            }
                        }: {
                            ar: {
                                windowMessage: "لا ترى متصفح " + n + " الآمن؟ سنساعدك في إعادة فتح النافذة لاستكمال مشترياتك",
                                continueMessage: "متابعة"
                            },
                            bg: {
                                windowMessage: "Не виждате защитения браузър на " + n + "? Ще ви помогнем да отворите отново прозореца, за да завършите покупката си",
                                continueMessage: "Щракнете, за да продължите"
                            },
                            cs: {
                                windowMessage: "Nezobrazuje se vám bezpečný prohlížeč " + n + "? Pomůžeme vám okno znovu otevřít, abyste mohli nákup dokončit",
                                continueMessage: "Pokračovat"
                            },
                            da: {
                                windowMessage: "Kan du ikke se " + n + "s sikre browser? Vi hjælper dig med at genstarte vinduet, så du kan betale",
                                continueMessage: "Fortsæt"
                            },
                            de: {
                                windowMessage: "Sie sehen das sichere Browserfenster von " + n + " nicht? Hier können Sie es wieder öffnen und Ihren Einkauf abschließen",
                                continueMessage: "Weiter"
                            },
                            el: {
                                windowMessage: "Δεν βλέπετε το ασφαλές πρόγραμμα περιήγησης " + n + "; Θα σας βοηθήσουμε να επανεκκινήσετε το παράθυρο για να ολοκληρώσετε την αγορά σας",
                                continueMessage: "Συνέχεια"
                            },
                            en: {
                                windowMessage: "Don’t see the secure " + n + " browser? We’ll help you re-launch the window to complete your purchase",
                                continueMessage: "Click to Continue"
                            },
                            es: {
                                windowMessage: "¿No ve el navegador seguro de " + n + "? Abriremos la ventana nuevamente para que pueda completar su compra",
                                continueMessage: "Continuar"
                            },
                            et: {
                                windowMessage: "Kas te ei näe turvalist " + n + "i lehitsejat? Aitame teil ostu lõpuleviimiseks akna uuesti avada.",
                                continueMessage: "Jätkamiseks klõpsake"
                            },
                            fi: {
                                windowMessage: "Eikö suojattua " + n + "-selainta näy? Autamme avaamaan ikkunan uudelleen oston viimeistelyä varten",
                                continueMessage: "Jatka"
                            },
                            fr: {
                                windowMessage: "Le navigateur sécurisé de " + n + " n’apparaît pas ? Nous allons vous aider à rouvrir la fenêtre pour finaliser votre achat",
                                continueMessage: "Continuer"
                            },
                            he: {
                                windowMessage: "לא רואה את דפדפן " + n + " המאובטח? נעזור לך לפתוח מחדש את החלון כדי להשלים את הקנייה שלך",
                                continueMessage: "המשך"
                            },
                            hu: {
                                windowMessage: "Nem látja a biztonságos " + n + "-böngészőt? Segítünk újra betölteni az ablakot, hogy befejezhesse a vásárlást",
                                continueMessage: "Folytatás"
                            },
                            id: {
                                windowMessage: "Browser " + n + " yang aman tidak terlihat? Kami akan membantu menampilkan ulang jendela untuk menyelesaikan pembayaran Anda",
                                continueMessage: "Lanjutkan"
                            },
                            it: {
                                windowMessage: "Non vedi la pagina sicura di " + n + "? Ti aiuteremo a riaprire la finestra per completare l’acquisto",
                                continueMessage: "Continua"
                            },
                            ja: {
                                windowMessage: "セキュアなブラウザが表示されない場合は、ウィンドウを再起動して、支払いを完了できるようお手伝いいたします",
                                continueMessage: "続行"
                            },
                            ko: {
                                windowMessage: "보안 " + n + " 브라우저가 보이지 않으신가요? 창을 다시 실행하여 결제를 완료할 수 있도록 도와드리겠습니다",
                                continueMessage: "계속"
                            },
                            lt: {
                                windowMessage: "Nematote saugios „" + n + "“ naršyklės? Padėsime iš naujo paleisti langą, kad užbaigtumėte pirkimą",
                                continueMessage: "Paspauskite, jei norite tęsti"
                            },
                            lv: {
                                windowMessage: "Vai neredzat drošo " + n + " pārlūkprogrammu? Mēs palīdzēsim jums atkārtoti palaist logu, lai pabeigtu pirkumu.",
                                continueMessage: "Noklikšķiniet, lai turpinātu"
                            },
                            ms: {
                                windowMessage: "Tidak melihat pelayar " + n + " yang selamat? Kami akan membantu anda melancarkan semula tetingkap untuk melengkapkan pembelian anda",
                                continueMessage: "Klik untuk Meneruskan"
                            },
                            no: {
                                windowMessage: "Ser du ikke den sikre " + n + "-nettleseren? Vi hjelper deg med å starte vinduet på nytt så du kan fullføre kjøpet",
                                continueMessage: "Fortsett"
                            },
                            nl: {
                                windowMessage: "Ziet u de beveiligde " + n + "-browser niet? We helpen u het venster opnieuw te openen om uw aankoop te voltooien",
                                continueMessage: "Doorgaan"
                            },
                            pl: {
                                windowMessage: "Nie widzisz bezpiecznej przeglądarki " + n + "? Pomożemy Ci ponownie uruchomić to okno w celu dokonania zakupu",
                                continueMessage: "Kontynuuj"
                            },
                            pt: {
                                windowMessage: "Não está vendo o navegador seguro do " + n + "? Ajudaremos você a reabrir a janela para concluir a compra",
                                continueMessage: "Continuar"
                            },
                            ro: {
                                windowMessage: "Nu vezi browser-ul securizat " + n + "? Te vom ajuta să lansezi din nou fereastra pentru a finaliza achiziția",
                                continueMessage: "Dă clic pentru a continua"
                            },
                            ru: {
                                windowMessage: "Не отображается безопасная страница " + n + " в браузере? Мы поможем вам повторно загрузить окно, чтобы завершить покупку",
                                continueMessage: "Продолжить"
                            },
                            si: {
                                windowMessage: "ආරක්ෂිත " + n + " බ්‍රව්සරය නොපෙනේ ද? ඔබේ මිල දී ගැනීම සම්පූර්ණ කිරීම සඳහා අපි ඔබට කවුළුව නැවත දියත් කිරීමට උපකාර කරන්නෙමු",
                                continueMessage: "ඉදිරියට යාමට ක්ලික් කරන්න"
                            },
                            sk: {
                                windowMessage: "Nezobrazuje sa vám zabezpečený prehliadač " + n + "? Pomôžeme vám znova otvoriť okno, aby ste mohli nákup dokončiť",
                                continueMessage: "Pokračovať"
                            },
                            sl: {
                                windowMessage: "Ne vidite " + n + "ovega varnega brskalnika? Pomagali vam bomo ponovno zagnati okno za dokončanje nakupa",
                                continueMessage: "Kliknite za nadaljevanje"
                            },
                            sq: {
                                windowMessage: "Nuk e shikon shfletuesin e sigurt të " + n + "? Do të të ndihmojmë të rihapësh dritaren për të përfunduar blerjen",
                                continueMessage: "Kliko për të vazhduar"
                            },
                            sv: {
                                windowMessage: "Ser du inte den säkra " + n + "-webbläsaren? Vi hjälper dig att starta om fönstret för att slutföra ditt köp",
                                continueMessage: "Fortsätt"
                            },
                            th: {
                                windowMessage: "ถ้าคุณไม่เห็นเบราว์เซอร์ที่มีระบบความปลอดภัยของ " + n + " เราจะช่วยคุณเปิดหน้าต่างอีกครั้งเพื่อชำระเงินให้เรียบร้อย",
                                continueMessage: "ดำเนินการต่อ"
                            },
                            tl: {
                                windowMessage: "Hindi nakikita ang secure na " + n + " browser? Tutulungan ka naming i-launch ulit ang window para makumpleto ang pagbili mo.",
                                continueMessage: "I-click para Magpatuloy"
                            },
                            tr: {
                                windowMessage: "Güvenli " + n + " tarayıcısını görmüyor musunuz? Alışverişinizi tamamlamak için pencereyi yeniden başlatmanıza yardımcı olacağız",
                                continueMessage: "Devam"
                            },
                            vi: {
                                windowMessage: "Bạn không thấy trình duyệt " + n + " bảo mật? Chúng tôi sẽ giúp bạn mở lại cửa sổ để hoàn tất giao dịch mua hàng",
                                continueMessage: "Nhấp để tiếp tục"
                            },
                            zh: {
                                windowMessage: "没有找到安全的" + n + "浏览器？我们将帮助您重启窗口以完成付款",
                                continueMessage: "继续"
                            },
                            zh_Hant: {
                                windowMessage: "看不到安全 " + n + " 瀏覽器？我們會協助你重新啟動視窗，以完成購物程序",
                                continueMessage: "按一下並繼續"
                            }
                        }
                    };
                    function ql() {
                        return Hn(ql, (function() {
                            var n = Ei({
                                tag: "paypal-checkout",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/checkoutnow"
                                },
                                attributes: {
                                    iframe: {
                                        scrolling: "yes"
                                    }
                                },
                                defaultContext: R() ? Jo.POPUP: Jo.IFRAME,
                                domain: fr(),
                                logger: mr(),
                                prerenderTemplate: function(n) {
                                    var e = n.doc;
                                    return ra(Ul, {
                                        nonce: n.props.nonce
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                containerTemplate: function(n) {
                                    var e = n.context,
                                        t = n.close,
                                        r = n.focus,
                                        o = n.doc,
                                        i = n.event,
                                        a = n.frame,
                                        u = n.prerenderFrame,
                                        l = n.props,
                                        s = l.nonce,
                                        c = l.fundingSource,
                                        d = c === lt.VENMO,
                                        p = d ? "en": l.locale.lang,
                                        f = Ml(c)[p];
                                    return d ? ra(Bl, {
                                        context: e,
                                        close: t,
                                        focus: r,
                                        event: i,
                                        frame: a,
                                        prerenderFrame: u,
                                        content: f,
                                        nonce: s
                                    }).render(da({
                                        doc: o
                                    })) : ra(Pl, {
                                        context: e,
                                        close: t,
                                        focus: r,
                                        event: i,
                                        frame: a,
                                        prerenderFrame: u,
                                        content: f,
                                        nonce: s
                                    }).render(da({
                                        doc: o
                                    }))
                                },
                                props: {
                                    atomicsWaitingState: {
                                        type: "object",
                                        required: !1,
                                        queryParam: function(n) {
                                            var e = n.value;
                                            return (null == e ? void 0 : e.searchParameter) || "atomicsWaitingState"
                                        },
                                        queryValue: function(n) {
                                            var e = n.value;
                                            return (null == e ? void 0 : e.encodedState) || ""
                                        }
                                    },
                                    clientID: {
                                        type: "string",
                                        value: function() {
                                            return It()
                                        },
                                        queryParam: !0
                                    },
                                    sessionID: {
                                        type: "string",
                                        value: xi,
                                        queryParam: !0
                                    },
                                    buttonSessionID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    stickinessID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    env: {
                                        type: "string",
                                        queryParam: !0,
                                        value: wt
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Ar
                                    },
                                    nonce: {
                                        type: "string",
                                        required: !1,
                                        value: nr,
                                        allowDelegate: !0
                                    },
                                    createAuthCode: {
                                        type: "function",
                                        queryParam: "code",
                                        required: !1,
                                        queryValue: function(n) {
                                            return H.
                                            try (n.value)
                                        },
                                        decorate: function(n) {
                                            return Mn(n.value)
                                        }
                                    },
                                    buyerCountry: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        default:
                                        Zt
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: "locale.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            var e = n.value;
                                            return e.lang + "_" + e.country
                                        },
                                        value: Qt
                                    },
                                    country: {
                                        type: "object",
                                        queryParam: "country.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            return n.value.country
                                        },
                                        value: Qt
                                    },
                                    createOrder: {
                                        type: "function",
                                        queryParam: "token",
                                        alias: "payment",
                                        queryValue: function(n) {
                                            return H.
                                            try (n.value)
                                        },
                                        decorate: function(n) {
                                            return Mn(n.value)
                                        }
                                    },
                                    xcomponent: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function() {
                                            return "1"
                                        }
                                    },
                                    integration_artifact: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function() {
                                            return "PAYPAL_JS_SDK"
                                        }
                                    },
                                    version: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Tt
                                    },
                                    commit: {
                                        type: "boolean",
                                        queryParam: !0,
                                        value: qt
                                    },
                                    fundingSource: {
                                        type: "string",
                                        queryParam: !0,
                                        default:
                                            function() {
                                                return lt.PAYPAL
                                            },
                                        allowDelegate: !0
                                    },
                                    standaloneFundingSource: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    branded: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    enableFunding: {
                                        type: "array",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    onApprove: {
                                        type: "function",
                                        alias: "onAuthorize"
                                    },
                                    onComplete: {
                                        type: "function",
                                        required: !1
                                    },
                                    onShippingChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    onShippingAddressChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    onShippingOptionsChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    hasShippingCallback: {
                                        type: "boolean",
                                        required: !1,
                                        queryParam: !0,
                                        value: function(n) {
                                            var e = n.props;
                                            return Boolean(e.onShippingChange || e.onShippingAddressChange || e.onShippingOptionsChange)
                                        }
                                    },
                                    clientMetadataID: {
                                        type: "string",
                                        required: !1,
                                        default:
                                        Or,
                                        queryParam: "client-metadata-id"
                                    },
                                    onAuth: {
                                        type: "function",
                                        required: !1,
                                        sameDomain: !0
                                    },
                                    onSmartWalletEligible: {
                                        type: "function",
                                        required: !1,
                                        sameDomain: !0
                                    },
                                    accessToken: {
                                        type: "string",
                                        required: !1
                                    },
                                    onCancel: {
                                        type: "function",
                                        required: !1
                                    },
                                    onFocused: {
                                        type: "function",
                                        value: function(n) {
                                            var e = n.event;
                                            return function(n) {
                                                return e.on("zoid-focus", n)
                                            }
                                        }
                                    },
                                    test: {
                                        type: "object",
                                        default:
                                            function() {
                                                return window.__test__ || {
                                                    action: "checkout"
                                                }
                                            }
                                    },
                                    smokeHash: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0
                                    },
                                    sign_out_user: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    hostedButtonId: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0
                                    }
                                },
                                dimensions: function(n) {
                                    var e = n.props;
                                    return "object" == typeof e.dimensions ? {
                                        width: e.dimensions.width + "px",
                                        height: e.dimensions.height + "px"
                                    }: d() ? {
                                        width: "100%",
                                        height: "590px"
                                    }: {
                                        width: "500px",
                                        height: "590px"
                                    }
                                }
                            });
                            return n.isChild() && (window.xchild = {
                                props: n.xprops,
                                show: Wn,
                                hide: Wn
                            },
                                function() {
                                    try {
                                        if (!window.injector) return;
                                        var n = window.injector.get("$util");
                                        if (!n || !n.redirect) return;
                                        var e = n.redirect;
                                        n.redirect = function(n) {
                                            try { - 1 !== n.indexOf("/ppcreditapply") && -1 !== n.indexOf("key=") && -1 === n.indexOf("sdkMeta") && (n += "&sdkMeta=" + Ar())
                                            } catch(n) {}
                                            for (var t = arguments.length,
                                                     r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++) r[o - 1] = arguments[o];
                                            return e.call.apply(e, [this, n].concat(r))
                                        }
                                    } catch(n) {}
                                } ()),
                                n
                        }))
                    }
                    var Hl = [lt.PAYPAL, lt.VENMO, lt.ITAU, lt.CREDIT, lt.PAYLATER, lt.APPLEPAY, lt.IDEAL, lt.SEPA, lt.BANCONTACT, lt.GIROPAY, lt.EPS, lt.SOFORT, lt.MYBANK, lt.BLIK, lt.P24, lt.WECHATPAY, lt.PAYU, lt.TRUSTLY, lt.OXXO, lt.BOLETO, lt.BOLETOBANCARIO, lt.MERCADOPAGO, lt.MULTIBANCO, lt.SATISPAY, lt.PAIDY, lt.CARD],
                        Wl = [lt.PAYPAL, lt.ITAU],
                        jl = function() {
                            return Nr((function(n) {
                                return n.funding = n.funding || {},
                                    Object.keys(n.funding).filter((function(e) {
                                        var t = n.funding[e];
                                        return ! (t.expiry && Date.now() > t.expiry || !n.funding[e].remembered)
                                    }))
                            }))
                        };
                    function zl(n) {
                        return - 1 !== jl().indexOf(n)
                    }
                    var Kl, Zl, Vl, Yl, Gl, Xl, Jl, $l = function() {
                            for (var n = Rt(), e = 0; e < Wl.length; e++) {
                                var t, r = Wl[e];
                                if (zl(r)) {
                                    var o = n[r];
                                    o && (n = P({},
                                        n, ((t = {})[r] = P({},
                                            o, {
                                                eligible: !0,
                                                recommended: !0
                                            }), t)))
                                }
                            }
                            return n
                        },
                        Ql = t(5),
                        ns = t.n(Ql),
                        es = ["optional", "className", "animate"];
                    function ts(n, e) {
                        var t = n.optional,
                            r = n.className,
                            o = void 0 === r ? [] : r,
                            i = n.animate,
                            a = l(n, es);
                        return ra("span", P({
                                class: [Wi.TEXT].concat(o, [i || Wi.IMMEDIATE]).filter(Boolean).join(" "),
                                optional: t
                            },
                            a, {
                                "data-v-5314b514": ""
                            }), e)
                    }
                    function rs(n) {
                        var e = n.chars,
                            t = n.color,
                            r = void 0 === t ? "white": t,
                            o = nr();
                        return ra(ha, {
                                nonce: o,
                                css: ns.a,
                                "data-v-5314b514": ""
                            },
                            ra("div", {
                                    class: ["placeholder", "color-" + r].join(" "),
                                    "data-v-5314b514": ""
                                },
                                new Array(e).fill("x").join("")))
                    }
                    function os(n) {
                        return n.logo
                    }
                    var is = {
                            enabled: !0,
                            automatic: !0,
                            layouts: [ki.VERTICAL],
                            platforms: [vt.DESKTOP, vt.MOBILE],
                            flows: ["purchase"],
                            colors: [Bi.SILVER, Bi.BLACK, Bi.WHITE],
                            logoColors: (Kl = {},
                                Kl[Bi.BLACK] = "white", Kl),
                            shapes: ["rect", "pill", "sharp"],
                            textColors: (Zl = {},
                                Zl[qi] = Bi.BLACK, Zl[Bi.BLUE] = Bi.WHITE, Zl[Bi.BLACK] = Bi.WHITE, Zl[Bi.DARKBLUE] = Bi.WHITE, Zl[Bi.REBRAND_DARKBLUE] = Bi.WHITE, Zl[Bi.REBRAND_BLUE] = Bi.BLACK, Zl[Bi.REBRAND_BLACK] = Bi.WHITE, Zl[Bi.REBRAND_WHITE] = Bi.BLACK, Zl),
                            secondaryColors: (Vl = {},
                                Vl[qi] = Bi.SILVER, Vl[Bi.BLACK] = Bi.BLACK, Vl[Bi.WHITE] = Bi.WHITE, Vl[Bi.REBRAND_WHITE] = Bi.REBRAND_WHITE, Vl[Bi.REBRAND_BLACK] = Bi.REBRAND_BLACK, Vl),
                            secondaryVaultColors: (Yl = {},
                                Yl[qi] = Bi.SILVER, Yl[Bi.BLACK] = Bi.BLACK, Yl[Bi.WHITE] = Bi.WHITE, Yl),
                            Logo: function() {
                                throw new Error("Not implemented")
                            },
                            Label: os,
                            showWalletMenu: function() {
                                return ! 0
                            }
                        },
                        as = P({},
                            is, {
                                colors: [Bi.DEFAULT, Bi.SILVER, Bi.WHITE, Bi.BLACK],
                                logoColors: (Gl = {},
                                    Gl[Bi.DEFAULT] = "default", Gl[Bi.SILVER] = "black", Gl[Bi.WHITE] = "black", Gl[Bi.BLACK] = "white", Gl),
                                textColors: (Xl = {},
                                    Xl[Bi.DEFAULT] = "white", Xl[Bi.BLACK] = "white", Xl[Bi.SILVER] = "black", Xl[Bi.WHITE] = "black", Xl),
                                secondaryColors: (Jl = {},
                                    Jl[qi] = Bi.DEFAULT, Jl[Bi.SILVER] = Bi.SILVER, Jl[Bi.WHITE] = Bi.WHITE, Jl[Bi.BLACK] = Bi.BLACK, Jl[Bi.REBRAND_WHITE] = Bi.REBRAND_WHITE, Jl[Bi.REBRAND_BLACK] = Bi.REBRAND_BLACK, Jl)
                            });
                    function us(n) {
                        var e = n.url;
                        return ra(oa, null, ra("style", {
                            nonce: n.nonce,
                            innerHTML: "\n                    .tracking-beacon {\n                        visibility: hidden;\n                        position: absolute;\n                        height: 1px;\n                        width: 1px;\n                    }\n                "
                        }), ra("img", {
                            class: "tracking-beacon",
                            src: e
                        }))
                    }
                    var ls = "\n    max-width: 0%;\n    opacity: 0;\n    overflow: hidden;\n",
                        ss = "\n    max-width: 100%;\n    opacity: 1;\n",
                        cs = "\n    position: static;\n    visibility: visible;\n",
                        ds = "\n\n    ." + Wi.BUTTON + " ." + Wi.TEXT + " {\n        \n    position: absolute;\n    visibility: hidden;\n\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.TEXT + "." + Wi.IMMEDIATE + ":not(." + Wi.PERSONALIZATION_TEXT + "):not(." + Wi.HIDDEN + ") {\n        " + cs + "\n        " + ss + "\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.VAULT_LABEL + " {\n        max-width: 60%;\n        text-overflow: ellipsis;\n        overflow: hidden;\n        white-space: nowrap;\n    }\n\n    ." + Wi.DOM_READY + " ." + Wi.BUTTON + " ." + Wi.TEXT + ":not(." + Wi.IMMEDIATE + "):not(." + Wi.PERSONALIZATION_TEXT + "):not(." + Wi.HIDDEN + ") {\n        " + cs + "\n        " + ls + "\n        animation: show-text 1s 0s forwards;\n    }\n\n    @keyframes show-text {\n        0% { " + ls + " }\n        100% { " + ss + " }\n    }\n\n    ." + Wi.BUTTON_LABEL + ' {\n        font-family: system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n        font-weight: 500;\n    }\n\n    .' + Wi.BUTTON_REBRAND + " ." + Wi.BUTTON_LABEL + ' {\n        font-family: PayPal Pro Book, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n    }\n\n    .' + Wi.BUTTON_REBRAND + ", div[data-funding-source=venmo] ." + Wi.BUTTON_LABEL + ' {\n        font-family: Scto Grotesk A, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n    }\n',
                        ps = t(2),
                        fs = t.n(ps);
                    function hs(n) {
                        return ra(n.shouldApplyRebrandedStyles ? Tl: Eu, {
                            logoColor: n.logoColor,
                            "data-v-ec148aa0": ""
                        })
                    }
                    function gs(n) {}
                    function ms(n) {
                        return ra(oa, {
                                "data-v-ec148aa0": ""
                            },
                            ra(os, P({},
                                n, {
                                    "data-v-ec148aa0": ""
                                })), ra(gs, P({},
                                n, {
                                    "data-v-ec148aa0": ""
                                })))
                    }
                    function ys(n) {
                        var e = n.instrument,
                            t = n.content,
                            r = n.textColor,
                            o = n.logo,
                            i = n.label;
                        return ra("div", {
                                class: "show-pay-label",
                                "data-v-ec148aa0": ""
                            },
                            ra("div", {
                                    class: "pay-label",
                                    optional: 2,
                                    "data-v-ec148aa0": ""
                                },
                                ra(ts, {
                                        "data-v-ec148aa0": ""
                                    },
                                    e && t ? n.payNow ? t.payNow: t.payWith: ra(rs, {
                                        chars: 7,
                                        color: r,
                                        "data-v-ec148aa0": ""
                                    }))), ra("div", {
                                    class: "logo",
                                    optional: 1,
                                    "data-v-ec148aa0": ""
                                },
                                e && o ? o: ra(ts, {
                                        "data-v-ec148aa0": ""
                                    },
                                    ra(rs, {
                                        chars: 4,
                                        color: r,
                                        "data-v-ec148aa0": ""
                                    }))), ra("div", {
                                    class: "label",
                                    "data-v-ec148aa0": ""
                                },
                                ra(ts, {
                                        "data-v-ec148aa0": ""
                                    },
                                    e && i ? i: ra(rs, {
                                        chars: 6,
                                        color: r,
                                        "data-v-ec148aa0": ""
                                    }))))
                    }
                    function vs(n) {
                        var e, t = n.instrument,
                            r = n.textColor,
                            o = n.logo,
                            i = n.label,
                            a = n.content;
                        return ra("div", {
                                class: "show-instruments-on-file",
                                "data-v-ec148aa0": ""
                            },
                            null != t && null != (e = t.secondaryInstruments) && e[0] ? ra("div", {
                                    class: "balance",
                                    "data-v-ec148aa0": ""
                                },
                                ra(ts, {
                                        "data-v-ec148aa0": ""
                                    },
                                    null == a ? void 0 : a.balance, " &")) : null, "balance" === (null == t ? void 0 : t.type) ? ra("div", {
                                    class: "paypal-balance",
                                    "data-v-ec148aa0": ""
                                },
                                ra(ts, {
                                        "data-v-ec148aa0": ""
                                    },
                                    null == a ? void 0 : a.payPalBalance)) : ra("div", {
                                    class: "fi-container",
                                    "data-v-ec148aa0": ""
                                },
                                ra("div", {
                                        class: "fi-logo",
                                        "data-v-ec148aa0": ""
                                    },
                                    t && o ? o: ra(ts, {
                                            "data-v-ec148aa0": ""
                                        },
                                        ra(rs, {
                                            chars: 4,
                                            color: r,
                                            "data-v-ec148aa0": ""
                                        }))), ra("div", {
                                        class: "fi-label",
                                        "data-v-ec148aa0": ""
                                    },
                                    ra(ts, {
                                            "data-v-ec148aa0": ""
                                        },
                                        t && i ? i: ra(rs, {
                                            chars: 6,
                                            color: r,
                                            "data-v-ec148aa0": ""
                                        })))))
                    }
                    function ws(n) {
                        var e = n.logoColor,
                            t = n.instrument,
                            r = n.content,
                            o = n.commit,
                            i = n.vault,
                            a = n.textColor,
                            u = n.fundingSource,
                            l = n.showPayLabel;
                        if (!t || t.type) {
                            var s, c, d;
                            if (d = t && "boolean" == typeof t.branded ? t.branded: u === lt.PAYPAL || u === lt.CREDIT || u !== lt.CARD, t) {
                                var p = ra(Ka, {
                                        logoColor: e,
                                        "data-v-ec148aa0": ""
                                    }),
                                    f = ra(Fa, {
                                        logoColor: e,
                                        "data-v-ec148aa0": ""
                                    });
                                "card" === t.type && t.label ? (s = t.logoUrl ? ra("img", {
                                    class: "card-art",
                                    src: t.logoUrl,
                                    "data-v-ec148aa0": ""
                                }) : p, c = t.label.replace("••••", "••")) : "bank" === t.type && t.label ? (s = t.logoUrl ? ra("img", {
                                    class: "card-art",
                                    src: t.logoUrl,
                                    "data-v-ec148aa0": ""
                                }) : f, c = t.label.replace("••••", "••")) : "credit" === t.type ? (s = ra(nu, {
                                    "data-v-ec148aa0": ""
                                }), c = r && r.credit) : "balance" === t.type ? (s = ra(Ou, {
                                    "data-v-ec148aa0": ""
                                }), c = r && r.balance) : t.label && (c = t.label)
                            }
                            var h = Boolean(t && t.oneClick && o && !i),
                                g = {};
                            h && (g["data-pay-now"] = !0);
                            var m = nr();
                            return ra(ha, {
                                    nonce: m,
                                    css: fs.a,
                                    "data-v-ec148aa0": ""
                                },
                                ra("div", P({
                                        class: "wallet-label-new"
                                    },
                                    g, {
                                        "data-v-ec148aa0": ""
                                    }), d ? ra("div", {
                                        class: "paypal-mark",
                                        "data-v-ec148aa0": ""
                                    },
                                    ra(Au, {
                                        logoColor: e,
                                        "data-v-ec148aa0": ""
                                    })) : null, l ? ra(ys, {
                                    instrument: t,
                                    content: r,
                                    payNow: h,
                                    textColor: a,
                                    logo: s,
                                    label: c,
                                    "data-v-ec148aa0": ""
                                }) : ra(vs, {
                                    instrument: t,
                                    textColor: a,
                                    logo: s,
                                    label: c,
                                    content: r,
                                    "data-v-ec148aa0": ""
                                })))
                        }
                    }
                    function bs(n) {
                        return null
                    }
                    var Es = t(6),
                        Ts = t.n(Es);
                    function As(n) {
                        var e, t = P({},
                                (Ra(n), n)),
                            r = t.instrument,
                            o = ra(ku, {
                                logoColor: t.logoColor,
                                "data-v-124872cb": ""
                            });
                        r && r.label && (e = r.label);
                        var i = nr();
                        return ra(ha, {
                                nonce: i,
                                css: Ts.a,
                                "data-v-124872cb": ""
                            },
                            ra("div", {
                                class: "wallet-label-venmo",
                                "data-v-124872cb": ""
                            },
                                o && ra("div", {
                                        class: "logo",
                                        optional: !0,
                                        "data-v-124872cb": ""
                                    },
                                    o), e && ra("div", {
                                    class: "label",
                                    "data-v-124872cb": ""
                                },
                                ra(ts, {
                                        className: ["limit"],
                                        "data-v-124872cb": ""
                                    },
                                    e))))
                    }
                    var Os = t(7),
                        Cs = t.n(Os),
                        Rs = t(3),
                        Ns = t.n(Rs),
                        xs = ["logo", "experiment"],
                        Ls = t(4),
                        Ss = t.n(Ls);
                    function _s(n, e) {
                        var t, r, o, i, a, u, l, s, c, d, p, f, h, g, m, y, v, w, b, E, T, A, O, C, R, N, x, L = n.paylater;
                        return null != L && null != (t = L.products) && null != (r = t.paylater) && r.eligible && "DE" === (null == L || null == (o = L.products) || null == (i = o.paylater) ? void 0 : i.variant) && (x = "Später Bezahlen"),
                        (null != L && null != (a = L.products) && null != (u = a.payIn3) && u.eligible && "ES" === (null == L || null == (l = L.products) || null == (s = l.payIn3) ? void 0 : s.variant) || null != L && null != (c = L.products) && null != (d = c.paylater) && d.eligible && "ES" === (null == L || null == (p = L.products) || null == (f = p.paylater) ? void 0 : f.variant)) && (x = "Paga a plazos"),
                        (null != L && null != (h = L.products) && null != (g = h.payIn3) && g.eligible && "IT" === (null == L || null == (m = L.products) || null == (y = m.payIn3) ? void 0 : y.variant) || null != L && null != (v = L.products) && null != (w = v.paylater) && w.eligible && "IT" === (null == L || null == (b = L.products) || null == (E = b.paylater) ? void 0 : E.variant)) && (x = "Paga a rate"),
                        null != L && null != (T = L.products) && null != (A = T.payIn4) && A.eligible && (x = "Pay in 4"),
                        null != L && null != (O = L.products) && null != (C = O.payIn4) && C.eligible && "FR" === (null == L || null == (R = L.products) || null == (N = R.payIn4) ? void 0 : N.variant) && (x = e ? "4X": "4X PayPal"),
                            x
                    }
                    var Ps = ["logo"],
                        Bs = ["logo"],
                        Fs = ["logo"],
                        ks = ["logo"],
                        Ds = ["logo"],
                        Is = ["logo"],
                        Us = ["logo"],
                        Ms = ["logo"],
                        qs = ["logo"],
                        Hs = ["logo"],
                        Ws = ["logo"],
                        js = ["logo"],
                        zs = ["logo"];
                    function Ks() {
                        return P({},
                            as, {
                                automatic: !1,
                                shippingChange: !1,
                                layouts: [ki.VERTICAL],
                                Logo: function(n) {
                                    return function(n) {
                                        var e = n.logoColor,
                                            t = void 0 === e ? "black": e,
                                            r = l(n, ll),
                                            o = Ta("boleto", sl, t);
                                        return ra(wa, P({},
                                            r, {
                                                name: "boleto",
                                                logoColor: t,
                                                cdnUrl: o
                                            }))
                                    } ({
                                        logoColor: n.logoColor,
                                        optional: n.optional
                                    })
                                },
                                Label: function(n) {
                                    var e = n.logo;
                                    return l(n, zs),
                                        e
                                }
                            })
                    }
                    var Zs = ["logo"],
                        Vs = ["logo"],
                        Ys = ["logo"],
                        Gs = ["logo"];
                    function Xs() {
                        return Hn(Xs, (function() {
                            var n, e;
                            return (n = {})[lt.PAYPAL] = P({},
                                is, {
                                    flows: ["purchase", "billing_setup", "subscription_setup", "full_stack_subscription_setup", "vault_without_purchase"],
                                    layouts: [ki.VERTICAL, ki.HORIZONTAL],
                                    colors: [Bi.GOLD, Bi.BLUE, Bi.SILVER, Bi.BLACK, Bi.WHITE, Bi.REBRAND_BLUE, Bi.REBRAND_DARKBLUE, Bi.REBRAND_WHITE, Bi.REBRAND_BLACK],
                                    logoColors: (e = {},
                                        e[Bi.GOLD] = "blue", e[Bi.SILVER] = "blue", e[Bi.BLUE] = "white", e[Bi.BLACK] = "white", e[Bi.WHITE] = "blue", e[Bi.REBRAND_BLUE] = "black", e[Bi.REBRAND_DARKBLUE] = "blue", e[Bi.REBRAND_WHITE] = "black", e[Bi.REBRAND_BLACK] = "white", e),
                                    labelText: function(n) {
                                        var e = n.content,
                                            t = n.label,
                                            r = n.period,
                                            o = "PayPal";
                                        if (e && t === _i.INSTALLMENT) if (r) {
                                            var i = e["label.installment.withPeriod"];
                                            "string" == typeof i && (o = i.replace("{period}", String(r)))
                                        } else o = e["label.installment.withoutPeriod"];
                                        else e && t && e["label." + t] && (o = e["label." + t]);
                                        return o
                                    },
                                    Logo: hs,
                                    Label: ms,
                                    WalletLabel: ws,
                                    Tag: bs
                                }),
                                n[lt.VENMO] = function() {
                                    var n, e, t;
                                    return P({},
                                        is, {
                                            flows: ["purchase", "vault_without_purchase"],
                                            layouts: [ki.HORIZONTAL, ki.VERTICAL],
                                            eligible: function(n) {
                                                var e = n.experiment,
                                                    t = n.displayOnly,
                                                    r = n.flow;
                                                return ! (!1 === (null == e ? void 0 : e.enableVenmo) || n.shippingChange && null != t && t.includes("vaultable") || "vault_without_purchase" === r && !0 !== (null == e ? void 0 : e.venmoVaultWithoutPurchase))
                                            },
                                            requires: function(n) {
                                                return n.platform === vt.MOBILE ? {
                                                    native: !0,
                                                    popup: !0
                                                }: {
                                                    native: !1,
                                                    popup: !1
                                                }
                                            },
                                            Logo: function(n) {
                                                var e = n.logoColor,
                                                    t = n.optional;
                                                return n.shouldApplyRebrandedStyles ?
                                                    function(n) {
                                                        var e = n.logoColor,
                                                            t = void 0 === e ? "default": e,
                                                            r = l(n, Nl),
                                                            o = Ta("venmo-rebrand", xl, t);
                                                        return ra(wa, P({},
                                                            r, {
                                                                name: "venmo-rebrand",
                                                                logoColor: t,
                                                                cdnUrl: o
                                                            }))
                                                    } ({
                                                        logoColor: e,
                                                        optional: t
                                                    }) : ku({
                                                        logoColor: e,
                                                        optional: t
                                                    })
                                            },
                                            Label: function(n) {
                                                var e = P({},
                                                    (Ra(n), n));
                                                return ra(os, P({},
                                                    e, {
                                                        "data-v-124872cb": ""
                                                    }))
                                            },
                                            WalletLabel: function() {
                                                return As.apply(void 0, arguments)
                                            },
                                            showWalletMenu: function() {
                                                return ! 1
                                            },
                                            colors: [Bi.BLUE, Bi.SILVER, Bi.BLACK, Bi.WHITE, Bi.REBRAND_BLACK, Bi.REBRAND_BLUE, Bi.REBRAND_WHITE],
                                            logoColors: (n = {},
                                                n[Bi.BLUE] = "white", n[Bi.SILVER] = "blue", n[Bi.BLACK] = "white", n[Bi.WHITE] = "blue", n[Bi.REBRAND_WHITE] = "blue", n[Bi.REBRAND_BLACK] = "white", n[Bi.REBRAND_BLUE] = "white", n),
                                            textColors: P({},
                                                is.textColors, (e = {},
                                                    e[Bi.REBRAND_BLUE] = Bi.WHITE, e)),
                                            secondaryColors: P({},
                                                is.secondaryColors, (t = {},
                                                    t[Bi.GOLD] = Bi.BLUE, t[Bi.BLUE] = Bi.SILVER, t[Bi.SILVER] = Bi.BLUE, t[Bi.REBRAND_BLUE] = Bi.REBRAND_BLUE, t))
                                        })
                                } (),
                                n[lt.APPLEPAY] = function() {
                                    var n;
                                    return P({},
                                        is, {
                                            requires: function() {
                                                return {
                                                    applepay: !0
                                                }
                                            },
                                            eligible: function(n) {
                                                var e = n.components,
                                                    t = n.enableFunding,
                                                    r = t && -1 !== t.indexOf(lt.APPLEPAY);
                                                return ! (null != e && e.includes(lt.APPLEPAY)) && Boolean(r)
                                            },
                                            platforms: [vt.DESKTOP, vt.MOBILE],
                                            layouts: [ki.HORIZONTAL, ki.VERTICAL],
                                            Logo: function(n) {
                                                return function(n) {
                                                    var e = n.logoColor,
                                                        t = void 0 === e ? "default": e,
                                                        r = l(n, Oa),
                                                        o = Ta("applepay", Ca, t);
                                                    return ra(wa, P({},
                                                        r, {
                                                            name: "applepay",
                                                            logoColor: t,
                                                            alt: "Apple Pay",
                                                            "aria-label": "Apple Pay",
                                                            cdnUrl: o
                                                        }))
                                                } ({
                                                    logoColor: n.logoColor,
                                                    optional: n.optional
                                                })
                                            },
                                            Mark: function(n) {
                                                var e = P({},
                                                    (Ra(n), n));
                                                return function(n) {
                                                    var e = P({},
                                                        (Ra(n), n));
                                                    return ra(ha, {
                                                            css: Cs.a,
                                                            "data-v-860bab1e": ""
                                                        },
                                                        ra(Na, P({},
                                                            e, {
                                                                "data-v-860bab1e": ""
                                                            })))
                                                } (P({},
                                                    e))
                                            },
                                            colors: [Bi.BLACK, Bi.WHITE],
                                            logoColors: (n = {},
                                                n[Bi.BLACK] = "white", n[Bi.WHITE] = "black", n),
                                            shippingChange: !0
                                        })
                                } (),
                                n[lt.ITAU] = function() {
                                    var n, e;
                                    return P({},
                                        is, {
                                            layouts: [ki.HORIZONTAL, ki.VERTICAL],
                                            Logo: function(n) {
                                                return function(n) {
                                                    var e = n.logoColor,
                                                        t = void 0 === e ? "default": e,
                                                        r = l(n, Xu),
                                                        o = Ta("itau", Ju, t);
                                                    return ra(wa, P({},
                                                        r, {
                                                            name: "itau",
                                                            logoColor: t,
                                                            cdnUrl: o
                                                        }))
                                                } ({
                                                    logoColor: n.logoColor,
                                                    optional: n.optional
                                                })
                                            },
                                            colors: [Bi.DARKBLUE, Bi.BLUE, Bi.BLACK],
                                            logoColors: (n = {},
                                                n[Bi.DARKBLUE] = "white", n[Bi.BLUE] = "white", n[Bi.BLACK] = "white", n),
                                            secondaryColors: P({},
                                                is.secondaryColors, (e = {},
                                                    e[qi] = Bi.DARKBLUE, e[Bi.GOLD] = Bi.DARKBLUE, e[Bi.BLUE] = Bi.BLUE, e[Bi.SILVER] = Bi.DARKBLUE, e[Bi.WHITE] = Bi.DARKBLUE, e))
                                        })
                                } (),
                                n[lt.CREDIT] = function() {
                                    var n, e, t;
                                    return P({},
                                        is, {
                                            flows: ["purchase", "billing_setup", "subscription_setup", "vault_without_purchase"],
                                            layouts: [ki.HORIZONTAL, ki.VERTICAL],
                                            Label: function(n) {
                                                var e = n.logo,
                                                    t = n.experiment,
                                                    r = l(n, xs);
                                                return null != t && t.isPaypalRebrandEnabled ? e: os(P({
                                                        logo: e
                                                    },
                                                    r))
                                            },
                                            Logo: function(n) {
                                                var e = n.locale,
                                                    t = n.logoColor,
                                                    r = n.logoColorPP,
                                                    o = n.shouldApplyRebrandedStyles,
                                                    i = n.nonce,
                                                    a = n.env,
                                                    u = n.experiment,
                                                    l = n.fundingEligibility;
                                                return o ? e.country === ct.DE ? ra(ha, {
                                                        css: Ns.a,
                                                        nonce: i,
                                                        "data-v-1eb11a5f": ""
                                                    },
                                                    ra(hs, {
                                                        logoColor: t,
                                                        shouldApplyRebrandedStyles: o,
                                                        env: a,
                                                        experiment: u,
                                                        fundingEligibility: l,
                                                        locale: e,
                                                        "data-v-1eb11a5f": ""
                                                    }), ra(Cl, {
                                                        logoColor: r,
                                                        "data-v-1eb11a5f": ""
                                                    }), ra(ts, {
                                                            "data-v-1eb11a5f": ""
                                                        },
                                                        "Später Bezahlen")) : ra(ha, {
                                                        css: Ns.a,
                                                        nonce: i,
                                                        "data-v-1eb11a5f": ""
                                                    },
                                                    ra(hs, {
                                                        logoColor: t,
                                                        shouldApplyRebrandedStyles: o,
                                                        locale: e,
                                                        env: a,
                                                        experiment: u,
                                                        fundingEligibility: l,
                                                        "data-v-1eb11a5f": ""
                                                    }), ra(Cl, {
                                                        logoColor: r,
                                                        "data-v-1eb11a5f": ""
                                                    }), ra(ts, {
                                                            "data-v-1eb11a5f": ""
                                                        },
                                                        "Credit")) : e.country === ct.DE ? ra(Qa, {
                                                    locale: e,
                                                    logoColor: t,
                                                    "data-v-1eb11a5f": ""
                                                }) : ra(oa, {
                                                        "data-v-1eb11a5f": ""
                                                    },
                                                    ra(Au, {
                                                        logoColor: t,
                                                        "data-v-1eb11a5f": ""
                                                    }), ra(Eu, {
                                                        logoColor: t,
                                                        optional: !0,
                                                        "data-v-1eb11a5f": ""
                                                    }), ra(Qa, {
                                                        locale: e,
                                                        logoColor: t,
                                                        "data-v-1eb11a5f": ""
                                                    }))
                                            },
                                            Mark: function() {
                                                return ra(Ll, {
                                                    "data-v-1eb11a5f": ""
                                                })
                                            },
                                            shouldUseMarkForRebrandOnly: !0,
                                            WalletLabel: ws,
                                            colors: [Bi.DARKBLUE, Bi.BLACK, Bi.WHITE, Bi.REBRAND_BLUE, Bi.REBRAND_WHITE, Bi.REBRAND_BLACK],
                                            secondaryColors: P({},
                                                is.secondaryColors, (n = {},
                                                    n[qi] = Bi.DARKBLUE, n[Bi.REBRAND_WHITE] = Bi.REBRAND_WHITE, n[Bi.REBRAND_BLUE] = Bi.REBRAND_BLUE, n[Bi.REBRAND_BLACK] = Bi.REBRAND_BLACK, n)),
                                            logoColors: (e = {},
                                                e[qi] = "white", e[Bi.WHITE] = "blue", e[Bi.REBRAND_BLUE] = "black", e[Bi.REBRAND_WHITE] = "black", e[Bi.REBRAND_BLACK] = "white", e),
                                            logoColorsPP: (t = {},
                                                t[Bi.REBRAND_BLUE] = "black", t[Bi.REBRAND_WHITE] = "blue", t[Bi.REBRAND_BLACK] = "white", t),
                                            labelText: "PayPal Credit"
                                        })
                                } (),
                                n[lt.PAYLATER] = function() {
                                    var n, e, t;
                                    return P({},
                                        is, {
                                            layouts: [ki.HORIZONTAL, ki.VERTICAL],
                                            eligible: function(n) {
                                                var e = n.experiment;
                                                return ! (e && e.disablePaylater && !n.fundingSource)
                                            },
                                            Label: function(n) {
                                                return n.logo
                                            },
                                            Logo: function(n) {
                                                var e = n.logoColor,
                                                    t = n.logoColorPP,
                                                    r = n.nonce,
                                                    o = n.fundingEligibility,
                                                    i = n.shouldApplyRebrandedStyles;
                                                return i ? ra(ha, {
                                                        css: Ss.a,
                                                        nonce: r,
                                                        "data-v-3cc4d81e": ""
                                                    },
                                                    ra(hs, {
                                                        logoColor: e,
                                                        shouldApplyRebrandedStyles: i,
                                                        env: n.env,
                                                        experiment: n.experiment,
                                                        fundingEligibility: o,
                                                        locale: n.locale,
                                                        "data-v-3cc4d81e": ""
                                                    }), ra(Cl, {
                                                        logoColor: t,
                                                        "data-v-3cc4d81e": ""
                                                    }), ra(ts, {
                                                            "data-v-3cc4d81e": ""
                                                        },
                                                        _s(o, i) || "Pay Later")) : ra(ha, {
                                                        css: Ss.a,
                                                        nonce: r,
                                                        "data-v-3cc4d81e": ""
                                                    },
                                                    ra(Au, {
                                                        logoColor: e,
                                                        "data-v-3cc4d81e": ""
                                                    }), ra(ts, {
                                                            "data-v-3cc4d81e": ""
                                                        },
                                                        _s(o) || "Pay Later"))
                                            },
                                            Mark: function() {
                                                return ra(Sl, {
                                                    "data-v-3cc4d81e": ""
                                                })
                                            },
                                            shouldUseMarkForRebrandOnly: !0,
                                            colors: [Bi.WHITE, Bi.BLACK, Bi.GOLD, Bi.BLUE, Bi.SILVER, Bi.REBRAND_BLUE, Bi.REBRAND_WHITE, Bi.REBRAND_BLACK],
                                            secondaryColors: (n = {},
                                                n[qi] = Bi.WHITE, n[Bi.GOLD] = Bi.GOLD, n[Bi.BLUE] = Bi.BLUE, n[Bi.SILVER] = Bi.SILVER, n[Bi.BLACK] = Bi.BLACK, n[Bi.WHITE] = Bi.WHITE, n[Bi.REBRAND_WHITE] = Bi.REBRAND_WHITE, n[Bi.REBRAND_BLUE] = Bi.REBRAND_BLUE, n[Bi.REBRAND_BLACK] = Bi.REBRAND_BLACK, n),
                                            logoColors: (e = {},
                                                e[Bi.GOLD] = "blue", e[Bi.SILVER] = "blue", e[Bi.BLUE] = "white", e[Bi.BLACK] = "white", e[Bi.WHITE] = "blue", e[Bi.REBRAND_BLUE] = "black", e[Bi.REBRAND_WHITE] = "black", e[Bi.REBRAND_BLACK] = "white", e),
                                            logoColorsPP: (t = {},
                                                t[Bi.REBRAND_BLUE] = "black", t[Bi.REBRAND_WHITE] = "blue", t[Bi.REBRAND_BLACK] = "white", t),
                                            labelText: function(n) {
                                                var e = n.fundingEligibility;
                                                return e && _s(e) || lt.PAYPAL + " " + lt.PAYLATER
                                            }
                                        })
                                } (),
                                n[lt.CARD] = function() {
                                    var n, e, t, r = function() {
                                            var n;
                                            return (n = {}).visa = {
                                                Label: Ha
                                            },
                                                n.amex = {
                                                    Label: ka
                                                },
                                                n.mastercard = {
                                                    Label: qa
                                                },
                                                n.discover = {
                                                    Label: Da
                                                },
                                                n.jcb = {
                                                    Label: Ma
                                                },
                                                n.elo = {
                                                    Label: Ia
                                                },
                                                n.hiper = {
                                                    Label: Ua
                                                },
                                                n
                                        } (),
                                        o = ((n = {})[ct.BR] = 5, n);
                                    return P({},
                                        is, {
                                            eligible: function(n) {
                                                var e = n.components,
                                                    t = n.fundingSource,
                                                    r = n.wallet,
                                                    o = n.fundingEligibility.card,
                                                    i = Boolean(o && o.eligible),
                                                    a = Boolean(o && o.branded),
                                                    u = Boolean(r && r.card && r.card.instruments && r.card.instruments.length);
                                                return ! (!i || !a && t !== lt.CARD && (e.includes("card-fields") || !u && e.includes("hosted-fields")))
                                            },
                                            flows: ["purchase", "billing_setup", "subscription_setup"],
                                            layouts: [ki.VERTICAL],
                                            maxCards: o,
                                            vendors: r,
                                            colors: [Bi.BLACK, Bi.WHITE, Bi.REBRAND_WHITE, Bi.REBRAND_BLACK],
                                            secondaryColors: P({},
                                                is.secondaryColors, (e = {},
                                                    e[qi] = Bi.BLACK, e[Bi.REBRAND_BLUE] = Bi.REBRAND_BLACK, e)),
                                            logoColors: (t = {},
                                                t[Bi.WHITE] = Bi.BLACK, t[Bi.REBRAND_WHITE] = Bi.BLACK, t[Bi.REBRAND_BLACK] = Bi.WHITE, t[qi] = Bi.WHITE, t),
                                            labelText: function(n) {
                                                return lt.CARD
                                            },
                                            Logo: function(n) {
                                                return ra(n.shouldApplyRebrandedStyles ? Ga: Ka, {
                                                    logoColor: n.logoColor
                                                })
                                            },
                                            Label: function(n) {
                                                return ra(oa, null, null, n.logo, null)
                                            },
                                            WalletLabel: ws,
                                            showWalletMenu: function(n) {
                                                var e, t = n.instrument,
                                                    r = n.userIDToken;
                                                return ! (t.branded || (null == (e = t.tokenID) || !e.match(/-/)) && r)
                                            }
                                        })
                                } (),
                                n[lt.IDEAL] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, pu),
                                                    o = Ta("ideal", fu, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "ideal",
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Ps),
                                                e
                                        }
                                    }),
                                n[lt.SEPA] = P({},
                                    is, {
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "default": e,
                                                    r = l(n, xu),
                                                    o = Ta("sepa", Lu, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "sepa",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        }
                                    }),
                                n[lt.BANCONTACT] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, Sa),
                                                    o = Ta("bancontact", _a, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "bancontact",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Bs),
                                                e
                                        },
                                        Mark: function() {
                                            return ra(_l, null)
                                        },
                                        shouldUseMarkForRebrandOnly: !0
                                    }),
                                n[lt.GIROPAY] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, cu),
                                                    o = Ta("giropay", du, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "giropay",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Fs),
                                                e
                                        }
                                    }),
                                n[lt.SOFORT] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, Su),
                                                    o = Ta("sofort", _u, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "sofort",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, ks),
                                                e
                                        }
                                    }),
                                n[lt.EPS] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, lu),
                                                    o = Ta("eps", su, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "eps",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Ds),
                                                e
                                        }
                                    }),
                                n[lt.MYBANK] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, hu),
                                                    o = Ta("mybank", gu, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "mybank",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Is),
                                                e
                                        }
                                    }),
                                n[lt.P24] = P({},
                                    as, {
                                        layouts: [ki.VERTICAL],
                                        shippingChange: !1,
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, mu),
                                                    o = Ta("p24", yu, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "p24",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Us),
                                                e
                                        }
                                    }),
                                n[lt.PAYU] = P({},
                                    as, {
                                        automatic: !1,
                                        layouts: [ki.VERTICAL],
                                        shippingChange: !1,
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, nl),
                                                    o = Ta("payu", el, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "payu",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, qs),
                                                e
                                        }
                                    }),
                                n[lt.BLIK] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, tl),
                                                    o = Ta("blik", rl, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "blik",
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Hs),
                                                e
                                        }
                                    }),
                                n[lt.TRUSTLY] = P({},
                                    as, {
                                        automatic: !1,
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, ol),
                                                    o = Ta("trustly", il, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "trustly",
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Ws),
                                                e
                                        }
                                    }),
                                n[lt.WECHATPAY] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, $u),
                                                    o = Ta("wechatpay", Qu, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "wechatpay",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Ms),
                                                e
                                        }
                                    }),
                                n[lt.OXXO] = P({},
                                    as, {
                                        automatic: !1,
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, al),
                                                    o = Ta("oxxo", ul, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "oxxo",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, js),
                                                e
                                        }
                                    }),
                                n[lt.BOLETO] = Ks(),
                                n[lt.BOLETOBANCARIO] = Ks(),
                                n[lt.MERCADOPAGO] = P({},
                                    as, {
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, cl),
                                                    o = Ta("mercadopago", dl, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "mercadopago",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Zs),
                                                e
                                        }
                                    }),
                                n[lt.MULTIBANCO] = P({},
                                    as, {
                                        automatic: !1,
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, pl),
                                                    o = Ta("multibanco", fl, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "multibanco",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Vs),
                                                e
                                        }
                                    }),
                                n[lt.SATISPAY] = P({},
                                    as, {
                                        automatic: !1,
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, hl),
                                                    o = Ta("satispay", gl, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "satispay",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Ys),
                                                e
                                        }
                                    }),
                                n[lt.PAIDY] = P({},
                                    as, {
                                        automatic: !1,
                                        shippingChange: !1,
                                        layouts: [ki.VERTICAL],
                                        Logo: function(n) {
                                            return function(n) {
                                                var e = n.logoColor,
                                                    t = void 0 === e ? "black": e,
                                                    r = l(n, ml),
                                                    o = Ta("paidy", yl, t);
                                                return ra(wa, P({},
                                                    r, {
                                                        name: "paidy",
                                                        logoColor: t,
                                                        cdnUrl: o
                                                    }))
                                            } ({
                                                logoColor: n.logoColor,
                                                optional: n.optional
                                            })
                                        },
                                        Label: function(n) {
                                            var e = n.logo;
                                            return l(n, Gs),
                                                e
                                        }
                                    }),
                                n
                        }))
                    }
                    var Js, $s, Qs, nc, ec, tc = function(n) {
                        return f(n) || A(n) || O(n) || g(n)
                    };
                    function rc(n, e, t) {
                        return tc(t) ? !("undefined" == typeof window || !window.popupBridge) : !0 === (null == n ? void 0 : n.venmoEnableWebOnNonNativeBrowser) ?
                            function(n) {
                                return ! (tc(n) || w(n) || y(n) || v(n) || T(n) ||
                                    function(n) {
                                        return /Macintosh.*AppleWebKit(?!.*Safari)/i.test(n)
                                    } (n) || C())
                            } (t) : e
                    }
                    function oc(n, e) {
                        return tc(e) ? !("undefined" == typeof window || !window.popupBridge) : !(p(e) || !(E(e) && x(e) || b(e) && N(e)) && (!0 !== (null == n ? void 0 : n.venmoEnableWebOnNonNativeBrowser) || !(E(e) && N(e) || b(e) && m(e))))
                    }
                    function ic(n, e) {
                        var t = e.layout,
                            r = e.platform,
                            o = e.fundingSource,
                            i = e.fundingEligibility,
                            a = e.enableFunding,
                            u = e.components,
                            l = e.onShippingChange,
                            s = e.onShippingAddressChange,
                            c = e.onShippingOptionsChange,
                            d = e.hasShippingCallback,
                            p = e.flow,
                            f = e.wallet,
                            h = e.applePaySupport,
                            g = e.supportsPopups,
                            m = e.supportedNativeBrowser,
                            y = e.experiment,
                            v = e.displayOnly,
                            w = e.userAgent;
                        if (n === lt.CREDIT && null != y && y.paypalCreditButtonCreateVaultSetupTokenExists && "vault_without_purchase" === p) return ! 0;
                        if (!i[n] || !i[n].eligible) return ! 1;
                        var b = Xs()[n];
                        if (!b) return ! 1;
                        if (!b.enabled) return ! 1;
                        if (!b.automatic && n !== o) return ! 1;
                        if (v && v.includes("vaultable") && !
                            function(n) {
                                var e, t, r = n.fundingEligibility,
                                    o = n.fundingSource;
                                if (o === lt.CARD && null != (e = r[o]) && e.vendors) {
                                    var i = r[o].vendors;
                                    return Object.keys(i).some((function(n) {
                                        var e, t;
                                        return (null == (e = i[n]) ? void 0 : e.eligible) && (null == (t = i[n]) ? void 0 : t.vaultable)
                                    }))
                                }
                                return ! (null == (t = r[o]) || !t.vaultable)
                            } ({
                                fundingEligibility: i,
                                fundingSource: n
                            })) return ! 1;
                        if (b.eligible && (null == b.eligible || !b.eligible({
                            enableFunding: a,
                            components: u,
                            experiment: y,
                            flow: p,
                            fundingSource: o,
                            fundingEligibility: i,
                            layout: t,
                            shippingChange: Boolean(d || l || s || c),
                            wallet: f,
                            displayOnly: v
                        }))) return ! 1;
                        if (t && b.layouts && -1 === b.layouts.indexOf(t) && (!o || t !== ki.HORIZONTAL)) return ! 1;
                        if (b.platforms && -1 === b.platforms.indexOf(r)) return ! 1;
                        if (b.requires && w) {
                            var E = b.requires({
                                    experiment: y,
                                    platform: r
                                }),
                                T = n === lt.VENMO ? rc(y, g, w) : g,
                                A = n === lt.VENMO ? oc(y, w) : m;
                            if (!0 === E.popup && !1 === T) return ! 1;
                            if (!0 === E.applepay && !1 === h) return ! 1;
                            if (!0 === E.native && !1 === A) return ! 1
                        }
                        return ! (!1 === b.shippingChange && (l || s || c) || b.flows && p && -1 === b.flows.indexOf(p))
                    }
                    function ac(n) {
                        var e = n.fundingSource,
                            t = n.layout,
                            r = n.platform,
                            o = n.fundingEligibility,
                            i = n.enableFunding,
                            a = n.components,
                            u = n.onShippingChange,
                            l = n.onShippingAddressChange,
                            s = n.onShippingOptionsChange,
                            c = n.hasShippingCallback,
                            d = n.flow,
                            p = n.wallet,
                            f = n.applePaySupport,
                            h = n.supportsPopups,
                            g = n.supportedNativeBrowser,
                            m = n.experiment,
                            y = n.displayOnly,
                            v = void 0 === y ? [] : y,
                            w = n.userAgent,
                            b = void 0 === w ? "": w;
                        if (e) return [e];
                        var E = Hl.filter((function(n) {
                            return ic(n, {
                                layout: t,
                                platform: r,
                                fundingSource: e,
                                fundingEligibility: o,
                                enableFunding: i,
                                components: a,
                                onShippingChange: u,
                                onShippingAddressChange: l,
                                onShippingOptionsChange: s,
                                hasShippingCallback: c,
                                flow: d,
                                wallet: p,
                                applePaySupport: f,
                                supportsPopups: h,
                                supportedNativeBrowser: g,
                                experiment: m,
                                displayOnly: v,
                                userAgent: b
                            })
                        }));
                        return t === ki.HORIZONTAL ? E = E.slice(0, 2) : t === ki.VERTICAL && (E = E.slice(0, 6)),
                            E
                    }
                    var uc = ((Js = {})[ki.HORIZONTAL] = Fi.SMALL, Js[ki.VERTICAL] = Fi.MEDIUM, Js),
                        lc = (($s = {})[ki.HORIZONTAL] = Fi.HUGE, $s[ki.VERTICAL] = Fi.HUGE, 50),
                        sc = ((Qs = {})[Fi.TINY] = {
                            defaultWidth: 75,
                            defaultHeight: 25,
                            minWidth: 75,
                            maxWidth: 150,
                            minHeight: 25,
                            maxHeight: 30
                        },
                            Qs[Fi.SMALL] = {
                                defaultWidth: 150,
                                defaultHeight: 25,
                                minWidth: 150,
                                maxWidth: 200,
                                minHeight: 25,
                                maxHeight: 55
                            },
                            Qs[Fi.MEDIUM] = {
                                defaultWidth: 250,
                                defaultHeight: 35,
                                minWidth: 200,
                                maxWidth: 300,
                                minHeight: 35,
                                maxHeight: 55
                            },
                            Qs[Fi.LARGE] = {
                                defaultWidth: 350,
                                defaultHeight: 45,
                                minWidth: 300,
                                maxWidth: 500,
                                minHeight: 30,
                                maxHeight: 55
                            },
                            Qs[Fi.HUGE] = {
                                defaultWidth: 500,
                                defaultHeight: 55,
                                minWidth: 500,
                                maxWidth: 750,
                                minHeight: 40,
                                maxHeight: 55
                            },
                            Qs),
                        cc = ((nc = {}).tiny = {
                            defaultHeight: 25,
                            minHeight: 25,
                            maxHeight: 30
                        },
                            nc.small = {
                                defaultHeight: 30,
                                minHeight: 30,
                                maxHeight: 35
                            },
                            nc.mediumSmall = {
                                defaultHeight: 35,
                                minHeight: 35,
                                maxHeight: 40
                            },
                            nc.mediumBig = {
                                defaultHeight: 40,
                                minHeight: 40,
                                maxHeight: 45
                            },
                            nc.largeSmall = {
                                defaultHeight: 45,
                                minHeight: 45,
                                maxHeight: 50
                            },
                            nc.largeBig = {
                                defaultHeight: 50,
                                minHeight: 50,
                                maxHeight: 55
                            },
                            nc.xl = {
                                defaultHeight: 55,
                                minHeight: 55,
                                maxHeight: 65
                            },
                            nc.xxl = {
                                defaultHeight: 65,
                                minHeight: 65,
                                maxHeight: 75
                            },
                            nc.xxxl = {
                                defaultHeight: 75,
                                minHeight: 75,
                                maxHeight: 200
                            },
                            nc),
                        dc = ((ec = {}).extraSmall = {
                            defaultHeight: 20,
                            minHeight: 20,
                            maxHeight: 30,
                            minWidth: 50,
                            maxWidth: 75,
                            gap: 3,
                            fontSize: 12
                        },
                            ec.tiny = {
                                defaultHeight: 25,
                                minHeight: 25,
                                maxHeight: 30,
                                minWidth: 75,
                                maxWidth: 200,
                                gap: 3,
                                fontSize: 12
                            },
                            ec.small = {
                                defaultHeight: 35,
                                minHeight: 30,
                                maxHeight: 35,
                                minWidth: 200,
                                maxWidth: 250,
                                gap: 3,
                                fontSize: 14
                            },
                            ec.mediumSmall = {
                                defaultHeight: 35,
                                minHeight: 35,
                                maxHeight: 40,
                                minWidth: 250,
                                maxWidth: 300,
                                gap: 4,
                                fontSize: 16
                            },
                            ec.mediumBig = {
                                defaultHeight: 45,
                                minHeight: 40,
                                maxHeight: 45,
                                minWidth: 300,
                                maxWidth: 350,
                                gap: 4,
                                fontSize: 16
                            },
                            ec.largeSmall = {
                                defaultHeight: 45,
                                minHeight: 45,
                                maxHeight: 50,
                                minWidth: 350,
                                maxWidth: 425,
                                gap: 5,
                                fontSize: 18
                            },
                            ec.largeBig = {
                                defaultHeight: 45,
                                minHeight: 50,
                                maxHeight: 55,
                                minWidth: 425,
                                maxWidth: 500,
                                gap: 5,
                                fontSize: 20
                            },
                            ec.xlSmall = {
                                defaultHeight: 55,
                                minHeight: 55,
                                maxHeight: 60,
                                minWidth: 500,
                                maxWidth: 550,
                                gap: 6,
                                fontSize: 22
                            },
                            ec.xlBig = {
                                defaultHeight: 55,
                                minHeight: 60,
                                maxHeight: 65,
                                minWidth: 550,
                                maxWidth: 650,
                                gap: 7,
                                fontSize: 24
                            },
                            ec.xxl = {
                                defaultHeight: 55,
                                minHeight: 65,
                                maxHeight: 100,
                                minWidth: 650,
                                maxWidth: 750,
                                gap: 7,
                                fontSize: 26
                            },
                            ec);
                    function pc(n) {
                        return "number" == typeof n
                    }
                    function fc(n, e) {
                        return n === ki.VERTICAL && e.includes(lt.CARD)
                    }
                    function hc(n, e, t) {
                        var r = fc(e, n);
                        return r && t === Ui.BOTTOM && console.warn("PayPal Button Message cannot be positioned at bottom when displaying the Debit or Credit Card button."),
                            r || t === Ui.TOP || e === ki.VERTICAL && !t ? Ui.TOP: Ui.BOTTOM
                    }
                    var gc = ["sessionID"],
                        mc = {
                            LOCALE: {
                                country: ct.US,
                                lang: dt.EN
                            },
                            COMMIT: !0,
                            VAULT: !1,
                            INTENT: "capture",
                            ENV: mt.PRODUCTION,
                            PLATFORM: vt.DESKTOP
                        };
                    function yc(n) {
                        var e = n.fundingSource,
                            t = n.style,
                            r = Xs()[e],
                            o = (t || {}).color;
                        if (r) {
                            var i = r.colors;
                            if (!o) return i[0];
                            if (i.includes(o)) return o; !
                                function(n) {
                                    var e = n.fundingSource,
                                        t = n.fundingSourceColors,
                                        r = n.invalidButtonColor,
                                        o = Object.values(Pi),
                                        i = t.filter((function(n) {
                                            return ! o.includes(n)
                                        }));
                                    throw new Error("Unexpected style.color for " + (e || lt.PAYPAL) + " button: " + r + ", expected " + i.join(", "))
                                } ({
                                    fundingSource: e,
                                    fundingSourceColors: i,
                                    invalidButtonColor: o
                                })
                        }
                        return o || Bi.GOLD
                    }
                    function vc(n, e) {
                        if (!e) throw new Error("Expected props.style to be set");
                        var t = (n = n || {}).fundingSource,
                            r = n.buttonColor || {},
                            o = r.color,
                            i = r.shouldApplyRebrandedStyles,
                            a = r.isButtonColorABTestMerchant,
                            u = Xs(),
                            l = u[t || lt.PAYPAL] || u[lt.PAYPAL];
                        if (!l) throw new Error("Expected " + (t || lt.PAYPAL) + " to be eligible");
                        var s = e.label,
                            c = e.layout,
                            d = void 0 === c ? t ? ki.HORIZONTAL: l.layouts[0] : c,
                            p = e.shape,
                            f = void 0 === p ? l.shapes[0] : p,
                            h = e.tagline,
                            g = void 0 === h ? d === ki.HORIZONTAL && !t: h,
                            m = e.height,
                            y = e.period,
                            v = e.menuPlacement,
                            w = void 0 === v ? "below": v,
                            b = e.disableMaxWidth,
                            E = e.disableMaxHeight,
                            T = e.borderRadius,
                            A = Object.values(Pi);
                        if ("false" === g && (g = !1), -1 === Vn(ki).indexOf(d)) throw new Error("Invalid layout: " + d);
                        if (s && -1 === Vn(_i).indexOf(s)) throw new Error("Invalid label: " + s);
                        if (o && -1 === l.colors.indexOf(o)) {
                            var O = l.colors.filter((function(n) {
                                return ! A.includes(n)
                            }));
                            throw new Error("Unexpected style.color for " + (t || lt.PAYPAL) + " button: " + o + ", expected " + O.join(", "))
                        }
                        if (f && -1 === l.shapes.indexOf(f)) throw new Error("Unexpected style.shape for " + (t || lt.PAYPAL) + " button: " + f + ", expected " + l.shapes.join(", "));
                        if (void 0 !== m) {
                            if ("number" != typeof m) throw new TypeError("Expected style.height to be a number, got: " + m);
                            var C = [sc[Fi.SMALL].minHeight, sc[Fi.HUGE].maxHeight],
                                R = C[0],
                                N = C[1];
                            if (!0 === E) throw new TypeError("Unexpected style.height for style.disableMaxHeight: got: " + m + ", expected undefined.");
                            if (m < R || m > N) throw new Error("Expected style.height to be between " + R + "px and " + N + "px - got " + m + "px")
                        }
                        if (void 0 !== E) {
                            if ("boolean" != typeof E) throw new TypeError("Expected style.disableMaxHeight to be a boolean, got: " + E);
                            var x = [lt.CARD, void 0],
                                L = Object.values(lt).filter((function(n) {
                                    return ! x.includes(n)
                                }));
                            if (x.includes(t)) throw new TypeError("Unexpected fundingSource for style.disableMaxHeight: got: " + (t || "Smart Stack") + ", expected " + L.join(", ") + ".")
                        }
                        if (void 0 !== T) {
                            if (!pc(T)) throw new TypeError("Expected style.borderRadius to be a number, got: " + T);
                            if (T < 0) throw new Error("Expected style.borderRadius to be greater than or equal to 0, got: " + T)
                        }
                        if (d === ki.VERTICAL && g) throw new Error("style.tagline is not allowed for " + ki.VERTICAL + " layout");
                        return {
                            label: s,
                            layout: d,
                            color: o,
                            shape: f,
                            tagline: g,
                            height: m,
                            period: y,
                            menuPlacement: w,
                            disableMaxWidth: b,
                            disableMaxHeight: E,
                            borderRadius: T,
                            shouldApplyRebrandedStyles: i,
                            isButtonColorABTestMerchant: a
                        }
                    }
                    function wc(n, e, t) {
                        var r = n.color,
                            o = void 0 === r ? Ii.BLACK: r,
                            i = n.position,
                            a = n.align,
                            u = void 0 === a ? Mi.CENTER: a,
                            l = n.offer,
                            s = n.amount;
                        if (void 0 !== s) {
                            if ("string" == typeof s && (s = Number(s)), "number" != typeof s || isNaN(s)) throw new TypeError("Expected message.amount to be a number, got: " + s);
                            if (s < 0) throw new Error("Expected message.amount to be a positive number, got: " + s)
                        }
                        if (void 0 !== l) {
                            if ("string" == typeof l && (l = l.split(",")), !Array.isArray(l)) throw new TypeError("Expected message.offer to be an array of strings, got: " + String(l));
                            var c = l.filter((function(n) {
                                return ! Vn(Di).includes(n)
                            }));
                            if (c.length > 0) throw new Error("Invalid offer(s): " + c.join(","));
                            l = l.join(",")
                        }
                        if (void 0 !== o && !Vn(Ii).includes(o)) throw new Error("Invalid color: " + o);
                        if (void 0 !== i && !Vn(Ui).includes(i)) throw new Error("Invalid position: " + i);
                        if (void 0 !== u && !Vn(Mi).includes(u)) throw new Error("Invalid align: " + u);
                        return {
                            amount: s,
                            offer: l,
                            color: o,
                            position: hc(t, e, i),
                            align: u
                        }
                    }
                    var bc = Vn(ct),
                        Ec = Vn(lt),
                        Tc = Vn(mt),
                        Ac = Vn(vt),
                        Oc = jn((function() {
                            if (window) {
                                var n = window.innerHeight,
                                    e = window.outerHeight,
                                    t = Math.round(window.screen.width / window.innerWidth * 100) / 100,
                                    r = Math.round(n * t),
                                    o = (void 0 === a && (a = s()), /iPhone.*OS.*(1)?(?:(1)[0-4]| [0-9])_/.test(a)),
                                    i = h();
                                mr().info("sfvcScreenInformation", {
                                    computedHeight: r,
                                    height: n,
                                    ios14: o,
                                    outerHeight: e,
                                    scale: t,
                                    standAlone: i
                                })
                            }
                            var a
                        }));
                    function Cc(n) {
                        return n.createVaultSetupToken ? "vault_without_purchase": n.createBillingAgreement ? "billing_setup": n.createSubscription ? Boolean(ar()) && "subscription" !== Mt() ? "full_stack_subscription_setup": "subscription_setup": "purchase"
                    }
                    function Rc() {
                        return Oc(),
                            !("undefined" == typeof window || !R() || p() || (!E() || !x()) && (!b() || !N()))
                    }
                    function Nc() {
                        var n, e = Rt(),
                            t = jt(),
                            r = t && -1 !== t.indexOf(lt.VENMO);
                        return {
                            enableVenmo: !!(null == e || null == (n = e.venmo) ? void 0 : n.eligible) && r
                        }
                    }
                    function xc() {
                        try {
                            if (!window.ApplePaySession) return;
                            var n = function(n) {
                                return P({},
                                    n, {
                                        errors: (n.errors || []).map((function(n) {
                                            return new window.ApplePayError(n.code, n.contactField, n.message)
                                        }))
                                    })
                            };
                            return function(e, t) {
                                var r = new window.ApplePaySession(e, t),
                                    o = {};
                                return r.onvalidatemerchant = function(n) {
                                    o.validatemerchant({
                                        validationURL: n.validationURL
                                    })
                                },
                                    r.onpaymentmethodselected = function(n) {
                                        o.paymentmethodselected({
                                            paymentMethod: n.paymentMethod
                                        })
                                    },
                                    r.onshippingmethodselected = function(n) {
                                        o.shippingmethodselected({
                                            shippingMethod: n.shippingMethod
                                        })
                                    },
                                    r.onshippingcontactselected = function(n) {
                                        o.shippingcontactselected({
                                            shippingContact: n.shippingContact
                                        })
                                    },
                                    r.onpaymentauthorized = function(n) {
                                        o.paymentauthorized({
                                            payment: n.payment
                                        })
                                    },
                                    r.oncancel = function() {
                                        o.oncancel()
                                    },
                                    {
                                        addEventListener: function(n, e) {
                                            o[n] = e
                                        },
                                        completeMerchantValidation: function(n) {
                                            r.completeMerchantValidation(n)
                                        },
                                        completePaymentMethodSelection: function(n) {
                                            r.completePaymentMethodSelection(n)
                                        },
                                        completeShippingMethodSelection: function(n) {
                                            r.completeShippingMethodSelection(n)
                                        },
                                        completeShippingContactSelection: function(e) {
                                            var t = n(e);
                                            r.completeShippingContactSelection(t)
                                        },
                                        completePayment: function(e) {
                                            var t = n(e);
                                            r.completePayment(t)
                                        },
                                        begin: function() {
                                            return r.begin()
                                        },
                                        abort: function() {
                                            return r.abort()
                                        }
                                    }
                            }
                        } catch(n) {
                            return
                        }
                    }
                    function Lc() {
                        return P({},
                            Nc(), "undefined" != typeof __FIRST_RENDER_EXPERIMENTS__ ? __FIRST_RENDER_EXPERIMENTS__: {})
                    }
                    var Sc, _c = Mn((Sc = wr((function * (n, e, t) {
                            try {
                                var r = Vt();
                                return window[r].MessagesModal || (yield new Promise((function(n, e) {
                                    var t, o = document.createElement("script");
                                    o.setAttribute("data-pp-namespace", r),
                                        o.src = "https://www.paypalobjects.com/upstream/bizcomponents/js/modal.js".replace("/js/", "/sandbox/"),
                                        o.addEventListener("error", (function(n) {
                                            e(n)
                                        })),
                                        o.addEventListener("load", (function() {
                                            var e;
                                            null == (e = document.body) || e.removeChild(o),
                                                n()
                                        })),
                                    null == (t = document.body) || t.appendChild(o)
                                }))),
                                    window[r].MessagesModal({
                                        buttonSessionId: t,
                                        onApply: function() {
                                            var n;
                                            return mr().info("button_message_modal_apply").track((n = {},
                                                n.transition_name = "button_message_modal_apply", n.state_name = "BUTTON_MESSAGE", n.button_session_id = t, n.context_id = t, n.context_type = "button_session_id", n.event_name = "modal_apply", n)).flush()
                                        },
                                        account: "client-id:" + n,
                                        merchantId: (null == e ? void 0 : e.join(",")) || void 0
                                    })
                            } catch(n) {
                                _c.reset(),
                                    mr().error("button_message_modal_fetch_error", {
                                        err: n
                                    }).track({
                                        err: n.message || "BUTTON_MESSAGE_MODAL_FETCH_ERROR",
                                        details: n.details,
                                        stack: JSON.stringify(n.stack || n)
                                    })
                            }
                        })),
                            function(n, e, t) {
                                return Sc.apply(this, arguments)
                            })),
                        Pc = function(n) {
                            for (var e = n.eventName,
                                     t = n.payload,
                                     r = document.querySelectorAll("iframe"), o = 0; o < r.length; o++) r[o].name.includes("zoid__paypal_buttons") && Bo(r[o].contentWindow, e, t, {
                                domain: "https://www.sandbox.paypal.com"
                            })
                        },
                        Bc = function(n) {
                            var e = Lc();
                            return Boolean(!f() && d() && n && e.spbEagerOrderCreation)
                        },
                        Fc = Mn((function() {
                            return Ei({
                                tag: "paypal-pixel",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/smart/pixel"
                                },
                                domain: fr(),
                                dimensions: {
                                    width: "0px",
                                    height: "0px"
                                },
                                attributes: {
                                    iframe: {
                                        allowpaymentrequest: "allowpaymentrequest",
                                        scrolling: "no",
                                        title: "PayPal",
                                        width: "1px",
                                        height: "1px"
                                    }
                                },
                                eligible: function() {
                                    return {
                                        eligible: Ki()
                                    }
                                },
                                props: {
                                    apiStageHost: {
                                        type: "string",
                                        value: Et,
                                        required: !1
                                    },
                                    branded: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    buttonLocation: {
                                        type: "string",
                                        value: function() {
                                            return window.location.hostname
                                        },
                                        queryParam: !1
                                    },
                                    buttonSessionID: {
                                        type: "string",
                                        value: Bn,
                                        queryParam: !0
                                    },
                                    buyerCountry: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: Zt
                                    },
                                    clientAccessToken: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0,
                                        value: Xt
                                    },
                                    customerId: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0,
                                        value: lr
                                    },
                                    clientID: {
                                        type: "string",
                                        value: It,
                                        queryParam: !0
                                    },
                                    commit: {
                                        type: "boolean",
                                        queryParam: !0,
                                        value: qt
                                    },
                                    components: {
                                        type: "array",
                                        queryParam: !0,
                                        value: Ct
                                    },
                                    createBillingAgreement: {
                                        type: "function",
                                        required: !1
                                    },
                                    createOrder: {
                                        type: "function",
                                        required: !1
                                    },
                                    createSubscription: {
                                        type: "function",
                                        required: !1
                                    },
                                    createVaultSetupToken: {
                                        type: "function",
                                        required: !1
                                    },
                                    csp: {
                                        type: "object",
                                        required: !1,
                                        value: function() {
                                            return {
                                                nonce: nr()
                                            }
                                        }
                                    },
                                    currency: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Wt
                                    },
                                    debug: {
                                        type: "boolean",
                                        value: Ot,
                                        queryParam: !0
                                    },
                                    disableCard: {
                                        type: "array",
                                        queryParam: !0,
                                        value: Kt
                                    },
                                    disableFunding: {
                                        type: "array",
                                        queryParam: !0,
                                        value: zt
                                    },
                                    disableSetCookie: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1,
                                        value: xt
                                    },
                                    displayOnly: {
                                        type: "array",
                                        queryParam: !0,
                                        required: !1,
                                        value: function(n) {
                                            var e = n.props;
                                            return (null == e ? void 0 : e.displayOnly) || []
                                        }
                                    },
                                    enableFunding: {
                                        type: "array",
                                        queryParam: !0,
                                        value: jt
                                    },
                                    enableVault: {
                                        type: "boolean",
                                        required: !1,
                                        queryParam: !0
                                    },
                                    env: {
                                        type: "string",
                                        queryParam: !0,
                                        value: wt
                                    },
                                    getPageUrl: {
                                        type: "function",
                                        value: function() {
                                            return function() {
                                                return window.location.href
                                            }
                                        }
                                    },
                                    intent: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Mt
                                    },
                                    jsSdkLibrary: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: rr
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: !0,
                                        value: Qt
                                    },
                                    merchantID: {
                                        type: "array",
                                        queryParam: !0,
                                        value: Ut
                                    },
                                    merchantRequestedPopupsDisabled: {
                                        type: "boolean",
                                        required: !1,
                                        value: $t
                                    },
                                    nonce: {
                                        type: "string",
                                        default:
                                        nr
                                    },
                                    onApprove: {
                                        type: "function",
                                        required: !1
                                    },
                                    onCancel: {
                                        type: "function",
                                        required: !1
                                    },
                                    onClick: {
                                        type: "function",
                                        required: !1
                                    },
                                    onComplete: {
                                        type: "function",
                                        required: !1
                                    },
                                    onInit: {
                                        type: "function",
                                        required: !1,
                                        default:
                                            function() {
                                                return Wn
                                            }
                                    },
                                    pageType: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0,
                                        value: function() {
                                            return Ft(ft.PAGE_TYPE)
                                        }
                                    },
                                    partnerAttributionID: {
                                        type: "string",
                                        required: !1,
                                        value: Jt
                                    },
                                    paymentMethodNonce: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    paymentMethodToken: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    paymentRequest: {
                                        type: "object",
                                        queryParam: !1,
                                        required: !1
                                    },
                                    platform: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Nt
                                    },
                                    referrerDomain: {
                                        type: "string",
                                        required: !1,
                                        value: function() {
                                            if (window.document.referrer) return new URL(window.document.referrer).host || void 0
                                        }
                                    },
                                    sdkCorrelationID: {
                                        type: "string",
                                        required: !1,
                                        value: At,
                                        queryParam: !0
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    sdkVersion: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Tt
                                    },
                                    sessionState: {
                                        type: "object",
                                        value: function() {
                                            return Si
                                        }
                                    },
                                    stageHost: {
                                        type: "string",
                                        value: bt,
                                        required: !1
                                    },
                                    storageID: {
                                        type: "string",
                                        value: xr,
                                        queryParam: !1
                                    },
                                    storageState: {
                                        type: "object",
                                        value: function() {
                                            return Li
                                        }
                                    },
                                    supportedNativeBrowser: {
                                        type: "boolean",
                                        value: Rc,
                                        queryParam: !0
                                    },
                                    supportsPopups: {
                                        type: "boolean",
                                        value: function() {
                                            return R()
                                        },
                                        queryParam: !0
                                    },
                                    userExperienceFlow: {
                                        type: "string",
                                        required: !1,
                                        value: or
                                    },
                                    vault: {
                                        type: "boolean",
                                        queryParam: !0,
                                        value: Ht
                                    }
                                }
                            })
                        }));
                    function kc(n) {
                        var e = n.close,
                            t = n.focus,
                            r = "paypal-overlay-" + n.buttonSessionID,
                            o = "__paypal_checkout_sandbox_" + r + "__";
                        function i(n) {
                            n.preventDefault(),
                                n.stopPropagation(),
                                t()
                        }
                        return ra("div", {
                                id: r,
                                name: r,
                                onRender: function(n) {
                                    je(n, "show-container", Wn)
                                },
                                class: "paypal-checkout-sandbox"
                            },
                            ra("style", {
                                    nonce: ""
                                },
                                function(n) {
                                    var e = n.uid;
                                    return "\n        #" + e + ".paypal-checkout-sandbox {\n            display: block;\n            position: fixed;\n            top: 0;\n            left: 0;\n\n            width: 100%;\n            height: 100%;\n            width: 100vw;\n            height: 100vh;\n            max-width: 100%;\n            max-height: 100%;\n            min-width: 100%;\n            min-height: 100%;\n\n            z-index: 2147483647;\n\n            animation-duration: 0.3s;\n            animation-iteration-count: 1;\n            animation-fill-mode: forwards !important;\n            opacity: 0;\n        }\n\n        #" + e + ".paypal-checkout-sandbox .paypal-checkout-sandbox-iframe {\n            display: block;\n            position: absolute;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n        }\n\n        @keyframes show-container {\n            from {\n                opacity: 0;\n            }\n\n            to {\n                opacity: 1;\n            }\n        }\n\n        @keyframes hide-container {\n            from {\n                opacity: 1;\n            }\n\n            50% {\n                opacity: 1;\n            }\n\n            to {\n                opacity: 0;\n            }\n        }\n    "
                                } ({
                                    uid: r
                                })), ra("iframe", {
                                    title: "PayPal Checkout Overlay",
                                    name: o,
                                    scrolling: "no",
                                    class: "paypal-checkout-sandbox-iframe"
                                },
                                ra("html", null, ra("body", null, ra("div", {
                                        dir: "auto",
                                        id: r,
                                        onClick: i,
                                        class: "paypal-overlay-context-popup paypal-checkout-overlay"
                                    },
                                    ra("a", {
                                        href: "#",
                                        class: "paypal-checkout-close",
                                        onClick: function(n) {
                                            var t;
                                            n.preventDefault(),
                                                n.stopPropagation();
                                            var o = null == (t = document.getElementsByName(r)) ? void 0 : t[0];
                                            je(o, "hide-container", Wn),
                                                e(),
                                            o && setTimeout((function() {
                                                o.remove()
                                            }), 300)
                                        },
                                        "aria-label": "close",
                                        role: "button"
                                    }), ra("div", {
                                            class: "paypal-checkout-modal"
                                        },
                                        ra("div", {
                                                class: "paypal-checkout-logo",
                                                dir: "ltr"
                                            },
                                            ra(Al, {
                                                logoColor: "white"
                                            })), ra("div", {
                                                class: "paypal-checkout-message"
                                            },
                                            "To finish, go back to the PayPal app."), ra("div", {
                                                class: "paypal-checkout-continue"
                                            },
                                            ra("a", {
                                                    onClick: i,
                                                    href: "#"
                                                },
                                                "Return to PayPal"))), ra("style", {
                                            nonce: ""
                                        },
                                        function(n) {
                                            var e = n.uid;
                                            return "\n        #" + e + " {\n            position: absolute;\n            z-index: 2147483647;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n\n            transform: translate3d(0, 0, 0);\n\n            background: radial-gradient(84.48% 50% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.75) 100%);\n\n            color: #fff;\n        }\n\n        #" + e + " a {\n            color: #fff;\n        }\n\n        #" + e + " .paypal-checkout-close:before,\n        #" + e + " .paypal-checkout-close:after {\n            background-color: #fff;\n        }\n\n        #" + e + " a {\n            text-decoration: none;\n        }\n\n        #" + e + ' .paypal-checkout-modal {\n            font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            text-align: center;\n\n            box-sizing: border-box;\n            width: 100%;\n            max-width: 350px;\n            top: 50%;\n            left: 50%;\n            position: absolute;\n            transform: translateX(-50%) translateY(-50%);\n            text-align: center;\n        }\n\n        #' + e + ".paypal-overlay-loading .paypal-checkout-message, #" + e + ".paypal-overlay-loading .paypal-checkout-continue {\n            display: none;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-logo {\n            cursor: pointer;\n            margin-bottom: 8px;\n            display: inline-block;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-logo img {\n            height: 44px;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-message {\n            font-size: 14px;\n            line-height: 18px;\n            padding: 8px 16px;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-continue {\n            font-size: 14px;\n            line-height: 18px;\n            padding: 8px 0;\n            font-weight: bold;\n        }\n\n        #" + e + " .paypal-checkout-modal .paypal-checkout-continue a {\n            border-bottom: 1px solid white;\n        }\n\n        #" + e + " .paypal-checkout-close {\n            position: absolute;\n            right: 16px;\n            top: 16px;\n            width: 24px;\n            height: 24px;\n        }\n\n        #" + e + ".paypal-overlay-loading .paypal-checkout-close {\n            display: none;\n        }\n\n        #" + e + " .paypal-checkout-close:before, .paypal-checkout-close:after {\n            position: absolute;\n            left: 11px;\n            content: ' ';\n            height: 24px;\n            width: 2px;\n        }\n\n        #" + e + " .paypal-checkout-close:before {\n            transform: rotate(45deg);\n        }\n\n        #" + e + " .paypal-checkout-close:after {\n            transform: rotate(-45deg);\n        }\n    "
                                        } ({
                                            uid: r
                                        })))))))
                    }
                    function Dc(n) {
                        var e, t = n.uid,
                            r = n.props,
                            o = n.tag,
                            i = n.context,
                            a = n.frame,
                            u = n.prerenderFrame,
                            l = n.doc,
                            s = n.container,
                            c = n.event;
                        if (a && u) {
                            if (s && "button" === s.tagName.toLowerCase()) throw new Error("Do not render the PayPal button into a button element");
                            a.classList.add("component-frame"),
                                u.classList.add("prerender-frame"),
                                a.classList.add("invisible"),
                                u.classList.add("visible"),
                                c.on("zoid-rendered", (function() {
                                    u.classList.remove("visible"),
                                        u.classList.add("invisible"),
                                        a.classList.remove("invisible"),
                                        a.classList.add("visible"),
                                        setTimeout((function() {
                                            Ze(u)
                                        }), 1e3)
                                }));
                            var d = r.style,
                                p = r.nonce,
                                f = d.label,
                                h = d.layout,
                                g = d.height,
                                m = d.menuPlacement,
                                y = d.disableMaxHeight,
                                v = uc[h];
                            if (g && !y) {
                                var w = Vn(Fi).filter((function(n) {
                                    return sc[n] && g && sc[n].minHeight <= g && sc[n].maxHeight >= g
                                }));
                                w.sort((function(n, e) {
                                    return sc[n].defaultWidth - sc[e].defaultWidth
                                })),
                                    v = w[0]
                            }
                            var b = ra("div", P({
                                    id: t,
                                    class: o + " " + o + "-context-" + i + " " + o + "-label-" + (f || "unknown") + " " + o + "-layout-" + h
                                },
                                (e = {},
                                    e["data-paypal-smart-button-version"] = "5.0.515", e), {
                                    onRender: function(n) {
                                        c.on("zoid-resize", (function(e) {
                                            var t = e.width,
                                                r = e.height;
                                            "number" == typeof t && (n.style.width = at(t)),
                                                y ? n.style.height = "100%": "number" == typeof r && (n.style.height = at(r))
                                        }))
                                    }
                                }), ra("style", {
                                    nonce: p
                                },
                                "\n                    #" + t + " {\n                        position: relative;\n                        display: inline-block;\n                        width: 100%;\n                        min-height: " + sc[v].minHeight + "px;\n                        min-width: " + sc[v].minWidth + "px;\n                        font-size: 0;\n                    }\n\n                    #" + t + " > iframe {\n                        position: absolute;\n                        top: 0;\n                        left: 0;\n                        width: 100%;\n                        height: 100%;\n                    }\n\n                    #" + t + " > iframe.component-frame {\n                        z-index: 100;\n                    }\n\n                    #" + t + " > iframe.prerender-frame {\n                        transition: opacity .2s linear;\n                        z-index: 200;\n                    }\n\n                    #" + t + " > iframe.visible {\n                        opacity: 1;\n                    }\n\n                    #" + t + " > iframe.invisible {\n                        opacity: 0;\n                        pointer-events: none;\n                    }\n\n                    #" + t + " > .smart-menu {\n                        position: absolute;\n                        z-index: 300;\n                        " + ("above" === m ? "bottom: 100%;": "top: 0;") + "\n                        left: 0;\n                        width: 100%;\n                    }\n                "), ra("node", {
                                el: a
                            }), ra("node", {
                                el: u
                            }), ra("div", {
                                id: "smart-menu",
                                class: "smart-menu"
                            }), ra("div", {
                                id: "installments-modal",
                                class: "installments-modal"
                            })).render(da({
                                doc: l
                            }));
                            return c.on("zoid-rendered", (function() {
                                setTimeout((function() {
                                    b.style.transition = "all 0.2s ease-in-out"
                                }), 1e3)
                            })),
                                b
                        }
                    }
                    var Ic = '\n    html, body {\n        font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n        padding: 0;\n        margin: 0;\n        width: 100%;\n        overflow: hidden;\n        text-align: left;\n    }\n\n    body {\n        display: inline-block;\n        vertical-align: top;\n        border-collapse: collapse;\n    }\n\n    * {\n        touch-callout: none;\n        user-select: none;\n        cursor: default;\n        box-sizing: border-box;\n    }\n\n    span {\n        display: inline-block;\n    }\n\n    .' + Wi.HIDDEN + " {\n        position: absolute !important;\n        visibility: hidden !important;\n    }\n\n    ." + Wi.HIDDEN + " * {\n        visibility: hidden !important;\n    }\n",
                        Uc = "\n\n    ." + Wi.CONTAINER + " {\n        display: block;\n        white-space: nowrap;\n        margin: 0;\n        background: 0;\n        border: 0;\n        text-transform: none;\n        font-smoothing: antialiased;\n        z-index: 0;\n        font-size: 0;\n        width: 100%;\n        box-sizing: border-box;\n    }\n\n    ." + Wi.BUTTON + " {\n        border: 1px solid transparent;\n        border-radius: 0 3px 3px 0;\n        position: relative;\n        width: 100%;\n        box-sizing: border-box;\n        border: none;\n        vertical-align: top;\n        cursor: pointer;\n        overflow: hidden;\n    }\n\n    ." + Wi.BUTTON + " * {\n        cursor: pointer;\n    }\n\n    ." + Wi.CONTAINER + "." + Wi.ENV + "-" + mt.TEST + " ." + Wi.TEXT + " {\n        background: rgba(0, 0, 0, 0.5) !important;\n        color: transparent  !important;\n        text-shadow: none  !important;\n    }\n\n    ." + Wi.CARD + " {\n        cursor: pointer;\n    }\n\n    .paypal-logo {\n        padding: 0;\n        display: inline-block;\n        background: none;\n        border: none;\n        width: auto;\n    }\n\n    ." + Wi.TEXT + ", ." + Wi.SPACE + " {\n        display: block;\n        vertical-align: top;\n        min-width: 0;\n        flex: 0 0 auto;\n        overflow: hidden;\n        white-space: pre;\n    }\n\n    ." + Wi.BUTTON_LABEL + " {\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        flex-wrap: nowrap;\n        min-width: 0px;\n    }\n                \n    ." + Wi.BUTTON_LABEL + " img {\n        height: 100%;\n    }\n\n    ." + Wi.BUTTON + " > ." + Wi.BUTTON_LABEL + " {\n        position: relative;\n        top: 50%;\n        transform: translateY(-50%);\n    }\n\n    ." + Wi.BUTTON + " > ." + Wi.BUTTON_LABEL + " * {\n        vertical-align: middle;\n        text-align: left;\n    }\n    \n    ." + Wi.BUTTON_LABEL + " > .paypal-logo {\n        height: 100%;\n    }\n\n    ." + Wi.TAGLINE + " {\n        max-width: 100%;\n        font-size: initial;\n        font-weight: 400;\n        display: block;\n        text-align: center;\n        width: auto;\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.SPINNER + " {\n        position: absolute;\n        height: 40px;\n        width: 40px;\n        top: 50%;\n        left: 50%;\n        transform: translateX(-50%) translateY(-50%);\n        box-sizing: border-box;\n        border: 3px solid rgba(0, 0, 0, .2);\n        border-top-color: rgba(33, 128, 192, 0.8);\n        border-radius: 100%;\n        animation: " + Wi.SPINNER + "-rotation .7s infinite linear;\n    }\n\n    @keyframes " + Wi.SPINNER + "-rotation {\n        from {\n            transform: translateX(-50%) translateY(-50%) rotate(0deg);\n        }\n        to {\n            transform: translateX(-50%) translateY(-50%) rotate(359deg);\n        }\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.SPINNER + " {\n        display: none !important;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.LOADING + " * {\n        display: none !important;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.LOADING + " ." + Wi.SPINNER + " {\n        display: block !important;\n    }\n\n    ." + Wi.CONTAINER + " ." + Wi.VAULT_HEADER + " {\n        margin-top: 10px;\n    }\n\n    @media only screen and (max-width: 249px) {\n        ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + "." + Wi.WALLET + "." + Wi.WALLET_MENU + " ." + Wi.BUTTON + "  {\n            border-top-right-radius: 4px;\n            border-bottom-right-radius: 4px;\n            width: 100%;\n        }\n    }\n",
                        Mc = "\n\n    ." + Wi.BUTTON_REBRAND + " {\n        border: 1px solid transparent;\n        border-radius: 0 3px 3px 0;\n        position: relative;\n        width: 100%;\n        box-sizing: border-box;\n        border: none;\n        vertical-align: top;\n        cursor: pointer;\n        overflow: hidden;\n    }\n\n    ." + Wi.BUTTON_REBRAND + " > ." + Wi.BUTTON_LABEL + " {\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        flex-wrap: nowrap;\n        height: 76%;\n        min-width: 0px;\n        position: relative;\n    }\n\n    .paypal-logo {\n        height: 100%;\n        padding: 0;\n        background: none;\n        border: none;\n        width: auto;        \n    }\n\n    ." + Wi.TEXT + " {\n        height: 100%;\n        display: flex;\n        align-items: center;\n        line-height: 1.1;\n        min-width: 0;\n    }\n\n    ." + Wi.BUTTON_REBRAND + " ." + Wi.TEXT + " {\n        max-width: 100%;\n    }\n    \n    ." + Wi.BUTTON_REBRAND + " ." + Wi.BUTTON_LABEL + " > .paypal-logo {\n        height: 100%;\n    }\n\n    ." + Wi.BUTTON_REBRAND + " ." + Wi.TAGLINE + " {\n        max-width: 100%;\n        font-size: initial;\n        font-weight: 400;\n        display: block;\n        text-align: center;\n        width: auto;\n    }\n";
                    function qc(n) {
                        return n <= 34 ? 3 : n <= 44 ? 4 : n <= 54 ? 5 : n <= 59 ? 6 : 7
                    }
                    function Hc(n) {
                        var e = dc[n.redesign_size],
                            t = e.minHeight,
                            r = e.maxHeight,
                            o = e.defaultHeight,
                            i = e.minWidth,
                            a = e.maxWidth,
                            u = e.gap,
                            l = e.fontSize,
                            s = n.height || o;
                        return {
                            style: e,
                            buttonHeight: s,
                            pillBorderRadius: Math.ceil(s / 2),
                            gap: u,
                            defaultHeight: o,
                            minHeight: t,
                            maxHeight: r,
                            minWidth: i,
                            minDualWidth: Math.max(Math.round(2.2 * s * (100 / 60)), 300),
                            maxWidth: a,
                            fontSize: l
                        }
                    }
                    var Wc = "\n\n\n    ." + Wi.BUTTON + "." + Wi.TEXT_COLOR + "-black {\n        color: #2C2E2F;\n    }\n\n    ." + Wi.BUTTON_REBRAND + "." + Wi.TEXT_COLOR + "-black {\n        color: #000000;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.TEXT_COLOR + "-white,\n    ." + Wi.BUTTON_REBRAND + "." + Wi.TEXT_COLOR + "-white {\n        color: #fff;\n    }\n\n    ." + Wi.REBRAND + "." + Wi.BUTTON + "." + Wi.TEXT_COLOR + "-black {\n        color: #000000;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.TEXT_COLOR + "-black ." + Wi.SPINNER + " {\n        border: 3px solid rgba(100, 100, 100, .2);\n        border-top-color: rgba(33, 128, 192, 0.8);\n    }\n\n    ." + Wi.BUTTON + "." + Wi.TEXT_COLOR + "-white ." + Wi.SPINNER + " {\n        border: 3px solid rgba(200, 200, 200, 0.2);\n        border-top-color: rgba(255, 255, 255, .85);\n    }\n\n    ." + Wi.BUTTON_REBRAND + "." + Wi.TEXT_COLOR + "-black ." + Wi.SPINNER + " {\n        border: 2px solid rgba(0, 0, 0, 1);\n        border-top-color: transparent;\n    }\n\n    ." + Wi.BUTTON_REBRAND + "." + Wi.TEXT_COLOR + "-white ." + Wi.SPINNER + " {\n        border: 2px solid rgba(255, 255, 255, 1);\n        border-top-color: transparent;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_BLUE + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.REBRAND_BLUE + " .menu-button {\n        background: #60CDFF;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_BLUE + ":hover {\n            background: #54B4E0;\n            overflow: inherit;\n        }\n    }\n    \n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_BLUE + ":active {\n            background: #3DB5FF;\n            overflow: inherit;\n        }\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_DARKBLUE + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.REBRAND_DARKBLUE + " .menu-button {\n        background: #002991;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_DARKBLUE + ":hover {\n            background: #0038BA;\n            overflow: inherit;\n        }\n    }\n    \n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_DARKBLUE + ":active {\n            background: #0057D9;\n            overflow: inherit;\n        }\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_BLACK + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.REBRAND_BLACK + " .menu-button {\n        background: #000000;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_BLACK + ":hover {\n            background: #333333;\n            overflow: inherit;\n        }\n    }\n    \n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_BLACK + ":active {\n            background: #696969;\n            overflow: inherit;\n        }\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_WHITE + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.REBRAND_WHITE + " .menu-button {\n        background: #FFFFFF;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_WHITE + ":hover {\n            background: #F2F2F2;\n            overflow: inherit;\n        }\n    }\n    \n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.REBRAND_WHITE + ":active {\n            background: #E9E9E9;\n            overflow: inherit;\n        }\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.GOLD + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.GOLD + " .menu-button {\n        background: #ffc439;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.GOLD + ":hover {\n            filter: brightness(0.95);\n            overflow: inherit;\n        }\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.GOLD + ":focus {\n        outline: none;\n    }\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.GOLD + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 5px;\n        right: 5px;\n        bottom: 5px;\n        left: 5px;\n        border: 0.125rem solid #009cde;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.5rem #0000a6;\n        pointer-events: none;\n    }\n\n    ." + Wi.BUTTON_REBRAND + ":focus {\n        outline: none;\n    }\n    \n    ." + Wi.BUTTON_REBRAND + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 3px;\n        right: 3px;\n        bottom: 3px;\n        left: 3px;\n        border: 0.125rem solid #FFFFFF;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.2rem #0066F5;\n        pointer-events: none;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLUE + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.BLUE + " .menu-button {\n        background: #0070ba;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.VENMO + "]." + Wi.COLOR + "-" + Bi.BLUE + ", \n    ." + Wi.BUTTON_REBRAND + "[data-funding-source=" + lt.VENMO + "]." + Wi.COLOR + "-" + Bi.REBRAND_BLUE + " {\n        background: #008CFF;\n    }\n\n    /* For APM funding sources, default button color to be defined by payment scheme branding guidelines */\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BLIK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #2C2E2F;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BANCONTACT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: linear-gradient(to right, #1E3764, #005AB9);\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAIDY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: linear-gradient(to right, #FF009C, #A6009C);\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #2C2E2F;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETOBANCARIO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #2C2E2F;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #C8036F;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.GIROPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #003A7D;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.IDEAL + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #2C2E2F;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MERCADOPAGO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #1D2647;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MULTIBANCO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #1866AB;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #1A4B67;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.OXXO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #D8232A;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.P24 + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #D03238;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SOFORT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #393A41;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.TRUSTLY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #003140;\n    }\n\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.WECHATPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #4D4D4D;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAYU + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #002124;\n    }\n\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SATISPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + " {\n        background: #E62601;\n    }\n\n    /* APM button hover actions */\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BANCONTACT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BLIK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETOBANCARIO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.GIROPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.IDEAL + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MERCADOPAGO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MULTIBANCO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.OXXO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.P24 + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SOFORT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.TRUSTLY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAYU + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SATISPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAIDY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.WECHATPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":hover {\n        filter: brightness(1.2);\n        overflow: inherit;\n    }\n\n    /* APM button on focus actions */\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BLIK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BANCONTACT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETOBANCARIO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.GIROPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.IDEAL + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MERCADOPAGO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MULTIBANCO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.OXXO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.P24 + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SOFORT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.TRUSTLY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAYU + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SATISPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAIDY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.WECHATPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus {\n        outline: none;\n    }\n\n    /* APM button after focus actions */\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BLIK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BANCONTACT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.BOLETOBANCARIO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.GIROPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.IDEAL + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MERCADOPAGO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MULTIBANCO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.OXXO + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.P24 + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SOFORT + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.TRUSTLY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAYU + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.SATISPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.PAIDY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after,\n    ." + Wi.BUTTON + "[data-funding-source=" + lt.WECHATPAY + "]." + Wi.COLOR + "-" + Bi.DEFAULT + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 5px;\n        right: 5px;\n        bottom: 5px;\n        left: 5px;\n        border: 0.125rem solid #009cde;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.5rem #0000a6;\n        pointer-events: none;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLUE + ":hover {\n            filter: brightness(0.95);\n            overflow: inherit;\n        }\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLUE + ":focus {\n        outline: none;\n    }\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLUE + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 5px;\n        right: 5px;\n        bottom: 5px;\n        left: 5px;\n        border: 0.125rem solid #0000a6;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.5rem #009cde;\n        pointer-events: none;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.SILVER + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.SILVER + " .menu-button {\n        background: #eee;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.SILVER + ":hover {\n            filter: brightness(0.95);\n            overflow: inherit;\n        }\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.SILVER + ":focus {\n        outline: none;\n    }\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.SILVER + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 5px;\n        right: 5px;\n        bottom: 5px;\n        left: 5px;\n        border: 0.125rem solid #009cde;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.5rem #0000a6;\n        pointer-events: none;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.DARKBLUE + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.DARKBLUE + " .menu-button {\n        background: #003087;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.DARKBLUE + ":hover {\n        filter: brightness(1.2);\n        overflow: inherit;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.DARKBLUE + ":focus {\n        outline: none;\n    }\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.DARKBLUE + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 5px;\n        right: 5px;\n        bottom: 5px;\n        left: 5px;\n        border: 0.125rem solid #009cde;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.5rem #0000a6;\n        pointer-events: none;\n    }\n\n\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLACK + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.BLACK + " .menu-button {\n        background: #2C2E2F;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLACK + ":hover {\n        filter: brightness(1.2);\n        overflow: inherit;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLACK + ":focus {\n        outline: none;\n    }\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.BLACK + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 5px;\n        right: 5px;\n        bottom: 5px;\n        left: 5px;\n        border: 0.125rem solid #009cde;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.5rem #0000a6;\n        pointer-events: none;\n    }\n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.WHITE + ",\n    ." + Wi.BUTTON_REBRAND + "." + Wi.COLOR + "-" + Bi.REBRAND_WHITE + ",\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.REBRAND_WHITE + " .menu-button,\n    ." + Wi.BUTTON_ROW + "." + Wi.COLOR + "-" + Bi.WHITE + " .menu-button {\n        background: #fff;\n        border: 1px solid #555;\n    }\n\n    @media (hover:hover) {\n        ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.WHITE + ":hover {\n            filter: brightness(0.95);\n            overflow: inherit;\n        }\n    }\n    \n\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.WHITE + ":focus {\n        outline: none;\n    }\n    ." + Wi.BUTTON + "." + Wi.COLOR + "-" + Bi.WHITE + ":focus::after {\n        content: '';\n        position: absolute;\n        top: 5px;\n        right: 5px;\n        bottom: 5px;\n        left: 5px;\n        border: 0.125rem solid #009cde;\n        border-radius: inherit;\n        box-shadow: 0 0 0 0.5rem #0000a6;\n        pointer-events: none;\n    }\n\n\n    ." + Wi.BUTTON + " ." + Wi.CARD + " {\n        position: relative;\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.CARD + "::after {\n        content: '';\n        width: 100%;\n        height: 100%;\n        position: absolute;\n        top: 0;\n        left: 0;\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.CARD + ":hover {\n        filter: brightness(1.2);\n        overflow: inherit;\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.CARD + ":focus {\n        outline: none;\n    }\n\n    ." + Wi.BUTTON + " ." + Wi.CARD + ":focus::after {\n        box-shadow: 0px 0px 1px 3px #0c67ff inset;\n    }\n";
                    function jc(n) {
                        var e = n.style,
                            t = n.nonce,
                            r = function(n) {
                                var e = n.shouldApplyRebrandedStyles;
                                return "\n        " + Ic + "\n        " + Uc + "\n        " + (e ? Mc: "") + "\n        " + Wc + "\n        " + ds + "\n        " +
                                    function(n) {
                                        var e = n.height,
                                            t = n.fundingEligibility,
                                            r = n.disableMaxWidth,
                                            o = n.disableMaxHeight,
                                            i = n.borderRadius,
                                            a = n.shouldApplyRebrandedStyles,
                                            u = function(n) {
                                                var e = n.height,
                                                    t = n.fundingEligibility,
                                                    r = n.disableMaxWidth,
                                                    o = n.disableMaxHeight,
                                                    i = n.borderRadius,
                                                    a = n.shouldApplyRebrandedStyles;
                                                return Object.keys(sc).map((function(n) {
                                                    var u = function(n) {
                                                            var e, t, r, o, i, a, u, l, s, c, d = n.fundingEligibility,
                                                                p = n.shouldApplyRebrandedStyles,
                                                                f = sc[n.size],
                                                                h = n.height || f.defaultHeight,
                                                                g = Math.max(Math.round(2.2 * h * (100 / 60)), 300),
                                                                m = d.paylater,
                                                                y = "DE" === (null == m || null == (e = m.products) || null == (t = e.paylater) ? void 0 : t.variant) || "IT" === (null == m || null == (r = m.products) || null == (o = r.payIn3) ? void 0 : o.variant) || "IT" === (null == m || null == (i = m.products) || null == (a = i.paylater) ? void 0 : a.variant) || "ES" === (null == m || null == (u = m.products) || null == (l = u.payIn3) ? void 0 : l.variant) || "ES" === (null == m || null == (s = m.products) || null == (c = s.paylater) ? void 0 : c.variant),
                                                                v = y ? 32 : 36,
                                                                w = Gn(Xn(Yn(h, y ? 32 : 35) + 5, 2), 12),
                                                                b = Gn(Xn(Yn(h, 35) + 5, 2), 12),
                                                                E = Math.ceil(h / 2);
                                                            return p && (w = b = Xn(Yn(h, 76), 1)),
                                                                {
                                                                    style: f,
                                                                    buttonHeight: h,
                                                                    minDualWidth: g,
                                                                    textPercPercentage: v,
                                                                    smallerLabelHeight: w,
                                                                    labelHeight: b,
                                                                    pillBorderRadius: E,
                                                                    gap: qc(h)
                                                                }
                                                        } ({
                                                            height: e,
                                                            fundingEligibility: t,
                                                            shouldApplyRebrandedStyles: a,
                                                            size: n
                                                        }),
                                                        l = u.style,
                                                        s = u.buttonHeight,
                                                        c = u.minDualWidth,
                                                        d = u.textPercPercentage,
                                                        p = u.smallerLabelHeight,
                                                        f = u.labelHeight,
                                                        h = u.pillBorderRadius;
                                                    return "\n            @media only screen and (min-width: " + l.minWidth + "px) {\n                ." + Wi.BUTTON_LABEL + " {\n                    gap: " + u.gap + "px;\n                }\n                \n                ." + Wi.CONTAINER + " {\n                    min-width: " + l.minWidth + "px;\n                    " + (r ? "": "max-width: " + l.maxWidth + "px;") + ";\n                    " + (o ? "height: 100%;": "") + ";\n                }\n\n                ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + ", ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.SPACE + " {\n                    font-size: " + Gn(Yn(s, 36), 10) + "px;\n                    line-height: " + f + "px;\n                }\n\n                [data-funding-source=\n                " + lt.PAYPAL + "] ." + Wi.TEXT + ",\n                [data-funding-source=\n                " + lt.PAYLATER + "] ." + Wi.TEXT + ",\n                [data-funding-source=\n                " + lt.CREDIT + "] ." + Wi.TEXT + " \n                {\n                    margin-top: -" + Yn(Gn(Yn(s, 36), 10), 10) + "px;\n                }\n\n                ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + " * {\n                    margin-top: " + Yn(Gn(Yn(s, 36), 10), 10) + "px;\n                }\n\n                ." + Wi.BUTTON_ROW + " {\n                    height: " + (o ? "100%": s + "px") + ";\n                    vertical-align: top;\n                    " + (o ? "": " min-height: " + (e || l.minHeight) + "px;") + ";\n                    " + (o ? "": "max-height: " + (e || l.maxHeight) + "px;") + "\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.VERTICAL + " {\n                    margin-bottom: " + Yn(s, 30) + "px;\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.VERTICAL + ":last-of-type {\n                    margin-bottom: 0;\n                }\n\n                ." + Wi.BUTTON + " {\n                    display: inline-block;\n                    text-align: center;\n                    height: 100%;\n                }\n                \n                ." + Wi.BUTTON + " ." + Wi.SPINNER + " {\n                    height: " + Yn(s, 50) + "px;\n                    width: " + Yn(s, 50) + "px;\n                }\n\n                ." + Wi.BUTTON + " > ." + Wi.BUTTON_LABEL + " {\n                    margin: 0px 4vw;\n                    height: " + f + "px;\n                }\n\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.APPLEPAY + "] ." + Wi.BUTTON_LABEL + " {\n                    height: " + (Yn(s, 80) + 5) + "px;\n                }\n\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.APPLEPAY + "] ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + " {\n                    line-height: " + (Yn(s, 80) + 5) + "px;\n                }\n\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] ." + Wi.BUTTON_LABEL + ",\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] ." + Wi.BUTTON_LABEL + " {\n                    height: " + (Yn(s, 50) + 5) + "px;\n                }\n\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + ",\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] ." + Wi.BUTTON_LABEL + " ." + Wi.SPACE + ",\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + ",\n                ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] ." + Wi.BUTTON_LABEL + " ." + Wi.SPACE + " {\n                    line-height: " + (Yn(s, 50) + 5) + "px;\n                }\n                \n                ." + Wi.BUTTON + "." + Wi.BORDER_RADIUS + " {\n                  " + (i && pc(i) ? "border-radius: " + i + "px": "") + "\n                }\n\n                ." + Wi.BUTTON + "." + Wi.SHAPE + "-sharp {\n                  border-radius: 0px;\n                }\n\n                ." + Wi.BUTTON + "." + Wi.SHAPE + "-rect {\n                    border-radius: 4px;\n                }\n\n                ." + Wi.BUTTON + "." + Wi.SHAPE + "-pill {\n                    border-radius: " + h + "px;\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.BORDER_RADIUS + " .menu-button {\n                  " + (i && pc(i) ? "border-top-right-radius: " + i + "px; border-bottom-right-radius: " + i + "px": "") + "\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-sharp .menu-button {\n                              border-top-right-radius: 0px;\n                              border-bottom-right-radius: 0px;\n                          }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-rect .menu-button {\n                    border-top-right-radius: 4px;\n                    border-bottom-right-radius: 4px;\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-pill .menu-button {\n                    border-top-right-radius: " + h + "px;\n                    border-bottom-right-radius: " + h + "px;\n                }\n                \n                ." + Wi.TAGLINE + " ." + Wi.TEXT + " {\n                    height: " + Yn(s, lc) + "px;\n                    line-height: " + Yn(s, lc) + "px;\n                }\n\n                ." + Wi.CARD + " {\n                    display: inline-block;\n                    height: 100%;\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.WALLET + "." + Wi.WALLET_MENU + " ." + Wi.BUTTON + " {\n                    width: calc(100% - " + (s + 2) + "px);\n                    border-top-right-radius: 0px;\n                    border-bottom-right-radius: 0px;\n                }\n\n                .menu-button {\n                    height: " + s + "px;\n                    width: " + s + "px;\n                }\n            }\n\n            @media only screen and (min-width: " + l.minWidth + "px) and (max-width: 320px) {\n\n                ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + ", ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.SPACE + " {\n                    font-size: " + Gn(Yn(s, d), 10) + "px;\n                    margin-top: -" + Yn(Gn(Yn(s, d), 10), 10) + "px;\n                    line-height: " + p + "px;\n                }\n\n\n                ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + " * {\n                    margin-top: " + Yn(Gn(Yn(s, d), 10), 10) + "px;\n                }\n\n                ." + Wi.BUTTON + " > ." + Wi.BUTTON_LABEL + " {\n                    margin: 0px 4vw;\n                    height: " + p + "px;\n                }\n            }\n\n            @media only screen and (min-width: " + l.minWidth + "px) and (max-width: " + c + "px) {\n\n                ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-0 {\n                    width: 100%;\n                    margin-right: 0;\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-1 {\n                    display: none;\n                }\n\n                ." + Wi.CONTAINER + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple ." + Wi.TAGLINE + " {\n                    display: none;\n                }\n            }\n\n            @media only screen and (min-width: " + Gn(l.minWidth, c) + "px) {\n\n                ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-0 {\n                    display: inline-block;\n                    width: calc(50% - " + Yn(s, 7) + "px);\n                    margin-right: " + 2 * Yn(s, 7) + "px;\n                }\n\n                ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-1 {\n                    display: inline-block;\n                    width: calc(50% - " + Yn(s, 7) + "px);\n                }\n\n                ." + Wi.CONTAINER + "." + Wi.WALLET + " ." + Wi.BUTTON_ROW + "." + Wi.WALLET + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple {\n                    width: calc(60% - " + Yn(s, 7) + "px);\n                }\n\n                ." + Wi.CONTAINER + "." + Wi.WALLET + " ." + Wi.BUTTON_ROW + ":not(." + Wi.WALLET + ")." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple {\n                    width: calc(40% - " + Yn(s, 7) + "px);\n                }\n\n                ." + Wi.CONTAINER + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple ." + Wi.TAGLINE + " {\n                    display: block;\n                }\n            }\n      "
                                                })).join("\n")
                                            } ({
                                                height: e,
                                                fundingEligibility: t,
                                                disableMaxWidth: r,
                                                disableMaxHeight: o,
                                                borderRadius: i,
                                                shouldApplyRebrandedStyles: a
                                            }),
                                            l = function(n) {
                                                var e = n.height,
                                                    t = n.disableMaxWidth,
                                                    r = n.disableMaxHeight,
                                                    o = n.borderRadius;
                                                return Object.keys(dc).map((function(n) {
                                                    var i = Hc({
                                                            height: e,
                                                            redesign_size: n
                                                        }),
                                                        a = i.buttonHeight,
                                                        u = i.pillBorderRadius,
                                                        l = i.gap,
                                                        s = i.fontSize,
                                                        c = i.minHeight,
                                                        d = i.maxHeight,
                                                        p = i.minWidth,
                                                        f = i.minDualWidth;
                                                    return "\n        @media only screen and (min-width: " + p + "px) {\n          ." + Wi.CONTAINER + " {\n              min-width: " + p + "px;\n              " + (t ? "": "max-width: " + i.maxWidth + "px;") + ";\n              " + (r ? "height: 100%;": "") + ";\n          }\n\n          ." + Wi.BUTTON_ROW + " {\n              " + (r ? "height: 100%;": "height: " + (e || i.defaultHeight) + "px;") + "\n              vertical-align: top;\n              " + (r ? "": "max-height: " + (e || d) + "px;") + "\n          }\n\n          ." + Wi.BUTTON_REBRAND + " > ." + Wi.BUTTON_LABEL + " {\n              margin: 0px 4vw;\n              box-sizing: border-box;\n              height: " + .76 * a + "px;\n          }\n\n          ." + Wi.BUTTON_REBRAND + "." + Wi.NUMBER + "-multiple ." + Wi.BUTTON_LABEL + " {\n              gap: " + l + "px;\n          }\n\n          ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + "." + Wi.NUMBER + "-multiple ." + Wi.TEXT + ", \n          ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + "." + Wi.NUMBER + "-multiple ." + Wi.SPACE + " {\n              font-size: " + s + "px;\n              position: relative; \n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.NUMBER + "-multiple ." + Wi.BUTTON_REBRAND + " ." + Wi.TEXT + " {\n              line-height: 1.2;\n              margin: 0;\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.VERTICAL + "." + Wi.NUMBER + "-multiple {\n              margin-bottom: " + Yn(a, 30) + "px;\n          }\n\n          /*  TO:DO no margin on last-child not getting applied */\n          ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.VERTICAL + "." + Wi.NUMBER + "-multiple:last-child {\n              margin-bottom: 0;\n          }\n        }\n      \n        @media only screen and (min-width: " + p + "px) and (max-width: " + f + "px) {\n          ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-0 {\n            width: 100%;\n            margin-right: 0;\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-1 {\n            display: none;\n          }\n\n          ." + Wi.CONTAINER + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple ." + Wi.TAGLINE + " {\n            display: none;\n          }\n        }\n        \n        @media only screen and (min-width: " + Gn(p, f) + "px) {\n          ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-0 {\n            display: inline-block;\n            width: calc(50% - " + Yn(a, 7) + "px);\n            margin-right: " + 2 * Yn(a, 7) + "px;\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple." + Wi.NUMBER + "-1 {\n            display: inline-block;\n            width: calc(50% - " + Yn(a, 7) + "px);\n          }\n\n          ." + Wi.CONTAINER + "." + Wi.WALLET + " ." + Wi.BUTTON_ROW + "." + Wi.WALLET + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple {\n            width: calc(60% - " + Yn(a, 7) + "px);\n          }\n\n          ." + Wi.CONTAINER + "." + Wi.WALLET + " ." + Wi.BUTTON_ROW + ":not(." + Wi.WALLET + ")." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple {\n            width: calc(40% - " + Yn(a, 7) + "px);\n          }\n\n          ." + Wi.CONTAINER + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple ." + Wi.TAGLINE + " {\n            display: block;\n          }\n\n          ." + Wi.CONTAINER + "." + Wi.LAYOUT + "-" + ki.HORIZONTAL + "." + Wi.NUMBER + "-multiple ." + Wi.TAGLINE + " ." + Wi.TEXT + " {\n            display: block;\n          }\n        }\n       \n        @media only screen and (min-height: " + c + "px) and (max-height: " + d + "px) {\n          ." + Wi.BUTTON_REBRAND + " > ." + Wi.BUTTON_LABEL + " {\n              gap: " + l + "px;\n          }\n\n          ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + ", \n          ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.SPACE + " {\n              font-size: " + s + "px;\n              position: relative; \n          }\n\n          ." + Wi.BUTTON_ROW + " ." + Wi.BUTTON_REBRAND + " ." + Wi.TEXT + " {\n              line-height: 1.2;\n              margin: 0;\n          }\n\n          ." + Wi.BUTTON + " {\n              display: inline-block;\n              text-align: center;\n              height: 100%;\n          }\n          \n          ." + Wi.BUTTON + " ." + Wi.SPINNER + " {\n              height: " + Yn(a, 50) + "px;\n              width: " + Yn(a, 50) + "px;\n          }\n\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.APPLEPAY + "] ." + Wi.BUTTON_LABEL + " {\n              height: " + (Yn(a, 80) + 5) + "px;\n          }\n\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.APPLEPAY + "] ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + " {\n              line-height: " + (Yn(a, 80) + 5) + "px;\n          }\n\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] ." + Wi.BUTTON_LABEL + ",\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] ." + Wi.BUTTON_LABEL + " {\n              height: " + (Yn(a, 50) + 5) + "px;\n          }\n\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + ",\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] ." + Wi.BUTTON_LABEL + " ." + Wi.SPACE + ",\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + ",\n          ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] ." + Wi.BUTTON_LABEL + " ." + Wi.SPACE + " {\n              line-height: " + (Yn(a, 50) + 5) + "px;\n          }\n          \n          ." + Wi.BUTTON + "." + Wi.BORDER_RADIUS + " {\n            " + (o && pc(o) ? "border-radius: " + o + "px": "") + "\n          }\n\n          ." + Wi.BUTTON + "." + Wi.SHAPE + "-sharp {\n            border-radius: 0px;\n          }\n\n          ." + Wi.BUTTON + "." + Wi.SHAPE + "-rect {\n              border-radius: 4px;\n          }\n\n          ." + Wi.BUTTON + "." + Wi.SHAPE + "-pill {\n              border-radius: " + u + "px;\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.BORDER_RADIUS + " .menu-button {\n            " + (o && pc(o) ? "border-top-right-radius: " + o + "px; border-bottom-right-radius: " + o + "px": "") + "\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-sharp .menu-button {\n              border-top-right-radius: 0px;\n              border-bottom-right-radius: 0px;\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-rect .menu-button {\n              border-top-right-radius: 4px;\n              border-bottom-right-radius: 4px;\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-pill .menu-button {\n              border-top-right-radius: " + u + "px;\n              border-bottom-right-radius: " + u + "px;\n          }\n          \n          ." + Wi.TAGLINE + " ." + Wi.TEXT + " {\n              height: " + Yn(a, lc) + "px;\n              line-height: " + Yn(a, lc) + "px;\n          }\n\n          ." + Wi.CARD + " {\n              display: inline-block;\n              height: 100%;\n          }\n\n          ." + Wi.BUTTON_ROW + "." + Wi.WALLET + "." + Wi.WALLET_MENU + " ." + Wi.BUTTON + " {\n              width: calc(100% - " + (a + 2) + "px);\n              border-top-right-radius: 0px;\n              border-bottom-right-radius: 0px;\n          }\n\n          .menu-button {\n              height: " + a + "px;\n              width: " + a + "px;\n          }\n        }"
                                                })).join("\n")
                                            } ({
                                                height: e,
                                                fundingEligibility: t,
                                                disableMaxWidth: r,
                                                disableMaxHeight: o,
                                                borderRadius: i
                                            }),
                                            s = o ?
                                                function(n) {
                                                    var e = n.fundingEligibility,
                                                        t = n.shouldApplyRebrandedStyles;
                                                    return Object.keys(cc).map((function(n) {
                                                        var r = function(n) {
                                                                var e, t, r, o, i, a, u, l, s, c, d, p = cc[n.disableMaxHeightSize],
                                                                    f = p.defaultHeight,
                                                                    h = n.fundingEligibility.paylater,
                                                                    g = "DE" === (null == h || null == (e = h.products) || null == (t = e.paylater) ? void 0 : t.variant) || "IT" === (null == h || null == (r = h.products) || null == (o = r.payIn3) ? void 0 : o.variant) || "IT" === (null == h || null == (i = h.products) || null == (a = i.paylater) ? void 0 : a.variant) || "ES" === (null == h || null == (u = h.products) || null == (l = u.payIn3) ? void 0 : l.variant) || "ES" === (null == h || null == (s = h.products) || null == (c = s.paylater) ? void 0 : c.variant),
                                                                    m = function(n) {
                                                                        var e = n.height,
                                                                            t = n.shouldApplyRebrandedStyles,
                                                                            r = Gn(Xn(Yn(e, n.shouldResizeLabel ? 32 : 35) + 5, 2), 12);
                                                                        return t && (r = Xn(Yn(e, 76), 1)),
                                                                            parseInt(r, 10)
                                                                    } ({
                                                                        height: f,
                                                                        shouldApplyRebrandedStyles: n.shouldApplyRebrandedStyles,
                                                                        shouldResizeLabel: g
                                                                    }),
                                                                    y = function(n) {
                                                                        var e = "" + Gn(Yn(n.height, n.shouldResizeLabel ? 32 : 36), 10);
                                                                        return parseInt(e, 10)
                                                                    } ({
                                                                        height: f,
                                                                        shouldResizeLabel: g
                                                                    }),
                                                                    v = function(n) {
                                                                        var e = "" + Yn(Gn(Yn(n.height, n.shouldResizeLabel ? 32 : 36), 10), 10);
                                                                        return parseInt(e, 10)
                                                                    } ({
                                                                        height: f,
                                                                        shouldResizeLabel: g
                                                                    }),
                                                                    w = (d = "" + Yn(f, 50), parseInt(d, 10)),
                                                                    b = function(n) {
                                                                        var e = Yn(n.height, 50) + 5;
                                                                        return parseInt(e, 10)
                                                                    } ({
                                                                        height: f
                                                                    }),
                                                                    E = function(n) {
                                                                        var e = Yn(n.height, 80) + 5;
                                                                        return parseInt(e, 10)
                                                                    } ({
                                                                        height: f
                                                                    }),
                                                                    T = qc(f);
                                                                return {
                                                                    disableHeightStyle: p,
                                                                    buttonHeight: f,
                                                                    labelHeight: m,
                                                                    fontSize: y,
                                                                    marginTop: v,
                                                                    spinnerSize: w,
                                                                    pillBorderRadius: Math.ceil(f / 2),
                                                                    APMHeight: b,
                                                                    applePayHeight: E,
                                                                    gap: T
                                                                }
                                                            } ({
                                                                fundingEligibility: e,
                                                                shouldApplyRebrandedStyles: t,
                                                                disableMaxHeightSize: n
                                                            }),
                                                            o = r.disableHeightStyle,
                                                            i = r.labelHeight,
                                                            a = r.marginTop,
                                                            u = r.spinnerSize,
                                                            l = r.pillBorderRadius,
                                                            s = r.APMHeight,
                                                            c = r.applePayHeight;
                                                        return "\n            @media (min-height: " + o.minHeight + "px) and (max-height: " + o.maxHeight + "px) {\n              ." + Wi.BUTTON_LABEL + " {\n                gap: " + r.gap + "px;\n              }\n\n              ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + ",\n              ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.SPACE + " {\n                font-size: " + r.fontSize + "px;\n                margin-top: -" + a + "px;\n                line-height: " + i + "px;\n              }\n              \n              ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + " * {\n                margin-top: " + a + "px;\n              }\n            \n              ." + Wi.BUTTON + " ." + Wi.SPINNER + " {\n                height: " + u + "px;\n                width: " + u + "px;\n              }\n              \n              ." + Wi.BUTTON + " > ." + Wi.BUTTON_LABEL + " {\n                margin: 0 4vw;\n                height: " + i + "px;\n              }\n\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.APPLEPAY + "] \n              ." + Wi.BUTTON_LABEL + " {\n                height: " + c + "px;\n              }\n\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.APPLEPAY + "] \n              ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + " {\n                line-height: " + c + "px;\n              }\n\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] \n              ." + Wi.BUTTON_LABEL + ",\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] \n              ." + Wi.BUTTON_LABEL + " {\n                height: " + s + "px;\n              }\n\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] \n              ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + ",\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.EPS + "] \n              ." + Wi.BUTTON_LABEL + " ." + Wi.SPACE + ",\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] \n              ." + Wi.BUTTON_LABEL + " ." + Wi.TEXT + ",\n              ." + Wi.BUTTON + "[data-funding-source=" + lt.MYBANK + "] \n              ." + Wi.BUTTON_LABEL + " ." + Wi.SPACE + " {\n                line-height: " + s + "px;\n              }\n\n              ." + Wi.BUTTON + "." + Wi.SHAPE + "-pill {\n                border-radius: " + l + "px;\n              }\n\n              ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-pill \n              .menu-button {\n                border-top-right-radius: " + l + "px;\n                border-bottom-right-radius: " + l + "px;\n              }\n\n              ." + Wi.BUTTON_ROW + "." + Wi.WALLET + "." + Wi.WALLET_MENU + " \n              ." + Wi.BUTTON + " {\n                width: calc(100% - " + (r.buttonHeight + 2) + "px);\n                border-top-right-radius: 0px;\n                border-bottom-right-radius: 0px;\n              }\n\n              .menu-button {\n                height: 100%;\n                width: auto;\n                aspect-ratio: 1;\n              }\n            }\n          "
                                                    })).join("\n")
                                                } ({
                                                    fundingEligibility: t,
                                                    shouldApplyRebrandedStyles: a
                                                }) : "",
                                            c = s + (o ? Object.keys(dc).map((function(n) {
                                                var e = Hc({
                                                    redesign_size: n
                                                });
                                                return "\n        @media (min-height: " + e.minHeight + "px) and (max-height: " + e.maxHeight + "px) {\n          ." + Wi.BUTTON_REBRAND + " > ." + Wi.BUTTON_LABEL + " {\n            gap: " + e.gap + "px;\n          }\n          ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.TEXT + ",\n          ." + Wi.CONTAINER + " ." + Wi.BUTTON_ROW + " ." + Wi.SPACE + " {\n            font-size: " + e.fontSize + "px;\n            position: relative;\n          }\n      "
                                            })).join("\n") : "");
                                        return "\n    ." + Wi.BUTTON + " {\n        display: inline-block;\n        text-align: center;\n        height: 100%;\n    }\n    \n    // border radius\n    ." + Wi.BUTTON + "." + Wi.BORDER_RADIUS + " {\n      " + (i && pc(i) ? "border-radius: " + i + "px": "") + ";\n    }\n    ." + Wi.BUTTON + "." + Wi.SHAPE + "-sharp {\n        border-radius: 0px;\n    }\n    ." + Wi.BUTTON + "." + Wi.SHAPE + "-rect {\n        border-radius: 4px;\n    }\n\n    // menu button - border radius\n    ." + Wi.BUTTON_ROW + "." + Wi.BORDER_RADIUS + " .menu-button {\n        " + (i && pc(i) ? "border-top-right-radius: " + i + "px; border-bottom-right-radius: " + i + "px": "") + ";\n    }\n\n    ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-sharp .menu-button {\n        border-top-right-radius: 0px;\n        border-bottom-right-radius: 0px;\n    }\n\n    ." + Wi.BUTTON_ROW + "." + Wi.SHAPE + "-rect .menu-button {\n        border-top-right-radius: 4px;\n        border-bottom-right-radius: 4px;\n    }\n\n    ." + Wi.CARD + " {\n        display: inline-block;\n        height: 100%;\n    }" + (a ? l + c: u + s)
                                    } ({
                                        height: n.height,
                                        fundingEligibility: n.fundingEligibility,
                                        disableMaxWidth: n.disableMaxWidth,
                                        disableMaxHeight: n.disableMaxHeight,
                                        borderRadius: n.borderRadius,
                                        shouldApplyRebrandedStyles: e
                                    }) + "\n    "
                            } ({
                                height: e.height,
                                fundingEligibility: n.fundingEligibility,
                                disableMaxWidth: e.disableMaxWidth,
                                disableMaxHeight: e.disableMaxHeight,
                                borderRadius: e.borderRadius,
                                shouldApplyRebrandedStyles: e.shouldApplyRebrandedStyles
                            });
                        return ra("style", {
                            nonce: t,
                            innerHTML: r
                        })
                    }
                    function zc() {
                        return ra("div", {
                            class: Wi.SPINNER
                        })
                    }
                    var Kc = ["color"];
                    function Zc(n) {
                        var e = void 0 === n ? {}: n,
                            t = e.color,
                            r = void 0 === t ? "#848484": t,
                            o = l(e, Kc);
                        return ra(wa, P({},
                            o, {
                                name: "chevron",
                                render: function() {
                                    return ra("svg", {
                                            width: "256",
                                            height: "158.18601989746094",
                                            viewBox: "-1.935 0.221 256 158.186",
                                            xmlns: "http://www.w3.org/2000/svg"
                                        },
                                        ra("polygon", {
                                            points: "223.878 0.221 126.065 98.034 28.252 0.221 -1.935 30.407 126.065 158.407 254.065 30.407",
                                            transform: "matrix(1, 0, 0, 1, 0, 0)",
                                            fill: r
                                        }))
                                }
                            }))
                    }
                    var Vc = t(8),
                        Yc = t.n(Vc);
                    function Gc(n) {
                        var e, t = void 0 === n ? {}: n,
                            r = t.textColor,
                            o = void 0 === r ? "black": r,
                            i = t.content,
                            a = null == i ? void 0 : i.moreOptions;
                        return ra(ha, {
                                css: Yc.a,
                                "data-v-33cb507c": ""
                            },
                            ra("div", P({},
                                ((e = {})["data-menu"] = !0, e), {
                                    tabindex: "0",
                                    class: "menu-button",
                                    role: "button",
                                    "aria-label": a,
                                    "aria-haspopup": "menu",
                                    "data-v-33cb507c": ""
                                }), ra(Zc, {
                                color: o,
                                "data-v-33cb507c": ""
                            })))
                    }
                    function Xc(n) {
                        var e, t = n.buyerCountry,
                            r = n.commit,
                            o = n.content,
                            i = n.customerId,
                            a = n.env,
                            u = n.experiment,
                            l = n.flow,
                            s = n.fundingEligibility,
                            c = n.fundingSource,
                            d = n.i,
                            p = n.instrument,
                            f = n.locale,
                            h = n.multiple,
                            g = n.nonce,
                            m = n.onClick,
                            y = void 0 === m ? Wn: m,
                            v = n.personalization,
                            w = n.showPayLabel,
                            b = n.style,
                            E = n.tagline,
                            T = n.userIDToken,
                            A = n.vault,
                            O = n.showLoadingSpinner,
                            C = void 0 !== O && O,
                            R = b.layout,
                            N = b.shape,
                            x = b.borderRadius,
                            L = Xs()[c];
                        if (!L) throw new Error("Can not find funding config for " + c);
                        var S = L.colors,
                            _ = L.secondaryColors || {},
                            B = b.color,
                            F = b.period,
                            k = b.label,
                            D = b.shouldApplyRebrandedStyles;
                        "" !== B && void 0 !== B || (B = S[0], h && (B = "gold")),
                        0 !== d || S.includes(B) || (B = S[0]),
                        h && d > 0 && (B = _[B] && S.indexOf( - 1 !== _[B]) ? _[B] : -1 !== S.indexOf(_[Bi.DEFAULT]) ? _[Bi.DEFAULT] : S[0]);
                        var I = L.logoColors,
                            U = L.logoColorsPP,
                            M = L.textColors,
                            q = I[B] || I.
                                default || "default",
                            H = U ? U[B] || U.
                                default || "default": q,
                            W = M[B] || M.
                                default || "default",
                            j = L.Label,
                            z = L.WalletLabel,
                            K = L.Logo,
                            Z = L.showWalletMenu,
                            V = function(n, e) {
                                n.preventDefault(),
                                    n.stopPropagation(),
                                    y(n, P({
                                            fundingSource: c
                                        },
                                        e))
                            },
                            Y = function(n, e) {
                                13 !== n.keyCode && 32 !== n.keyCode || V(n, e)
                            },
                            G = function(n, e) {
                                return n !== _i.INSTALLMENT || ["BR", "MX"].includes(e) ? n: _i.PAYPAL
                            } (k, t),
                            X = function() {
                                var n = "function" == typeof L.labelText ? L.labelText({
                                    buyerCountry: t,
                                    content: o,
                                    fundingEligibility: s,
                                    label: G,
                                    period: F
                                }) : L.labelText || c;
                                return ! w && null != p && p.vendor && p.label && (n = p.secondaryInstruments ? p.secondaryInstruments[0].type + " & " + p.vendor + " " + p.label: p.vendor + " " + p.label),
                                    n
                            } (),
                            J = ra(K, {
                                label: G,
                                locale: f,
                                logoColor: q,
                                logoColorPP: H,
                                fundingEligibility: s,
                                onClick: V,
                                onKeyPress: Y,
                                nonce: g,
                                experiment: u,
                                shouldApplyRebrandedStyles: D,
                                env: a
                            }),
                            $ = ra(j, {
                                i: d,
                                logo: J,
                                label: G,
                                nonce: g,
                                locale: f,
                                logoColor: q,
                                period: F,
                                layout: R,
                                multiple: h,
                                fundingEligibility: s,
                                onClick: V,
                                onKeyPress: Y,
                                personalization: v,
                                tagline: E,
                                content: o,
                                experiment: u
                            }),
                            Q = !1; ! z || w && "purchase" !== l && "vault_without_purchase" !== l || !p && (!T && !i || c !== lt.PAYPAL && c !== lt.VENMO) || ($ = ra(z, {
                            nonce: g,
                            logoColor: q,
                            instrument: p,
                            locale: f,
                            content: o,
                            commit: r,
                            experiment: u,
                            vault: A,
                            textColor: W,
                            fundingSource: c,
                            showPayLabel: w
                        }), Q = !0);
                        var nn = Q && p && Z({
                                instrument: p,
                                userIDToken: T
                            }),
                            en = pc(x) ? Wi.BORDER_RADIUS: Wi.SHAPE + "-" + N;
                        return ra("div", {
                                class: [Wi.BUTTON_ROW, Wi.NUMBER + "-" + d, Wi.LAYOUT + "-" + R, Wi.NUMBER + "-" + (h ? "multiple": "single"), Wi.ENV + "-" + a, Wi.COLOR + "-" + B, Wi.TEXT_COLOR + "-" + W, "paypal-logo-color-" + q, "" + (Q ? Wi.WALLET: ""), "" + (nn ? Wi.WALLET_MENU: ""), "" + en].join(" ")
                            },
                            ra("div", P({
                                    role: "link"
                                },
                                ((e = {})["data-button"] = !0, e["data-funding-source"] = c, e["data-payment-method-id"] = p ? p.tokenID: null, e["data-instrument-id"] = p ? p.instrumentID: null, e["data-instrument-type"] = p ? p.type: null, e["data-secondary-instrument-type"] = null != p && p.secondaryInstruments ? p.secondaryInstruments[0].type: null, e), {
                                    class: [Wi.BUTTON, "" + (D ? Wi.BUTTON_REBRAND: ""), "" + (C ? Wi.LOADING: ""), Wi.NUMBER + "-" + d, Wi.LAYOUT + "-" + R, Wi.NUMBER + "-" + (h ? "multiple": "single"), Wi.ENV + "-" + a, Wi.COLOR + "-" + B, Wi.TEXT_COLOR + "-" + W, "paypal-logo-color-" + q, "" + (Q ? Wi.WALLET: ""), "" + en].join(" "),
                                    onClick: V,
                                    onRender: function(n) {
                                        Oe() && xn(n) &&
                                        function(n) {
                                            var e = function e(t) {
                                                return n.removeEventListener("focus", e),
                                                    t.preventDefault(),
                                                    n.blur(),
                                                    !1
                                            };
                                            n.addEventListener("mousedown", (function() {
                                                n.addEventListener("focus", e),
                                                    setTimeout((function() {
                                                        n.removeEventListener("focus", e)
                                                    }), 1)
                                            }))
                                        } (n)
                                    },
                                    onKeyPress: Y,
                                    tabindex: "0",
                                    "aria-label": X
                                }), ra("div", {
                                    class: Wi.BUTTON_LABEL
                                },
                                $), ra(zc, null)), nn ? ra(Gc, {
                                textColor: W,
                                content: o
                            }) : null)
                    }
                    function Jc(n) {
                        var e = n.fundingSource,
                            t = n.locale,
                            r = n.multiple,
                            o = n.nonce,
                            i = n.personalization,
                            a = Xs()[e];
                        if (!a) throw new Error("Can not get config for " + e);
                        var u = a.Tag;
                        if (u) {
                            var l = i && i.tagline;
                            return ra("div", {
                                    class: Wi.TAGLINE
                                },
                                l ? ra(oa, null, ra("span", null, l.Component ? ra(l.Component, null) : l.text), l.tracking && l.tracking.impression && ra(us, {
                                    url: l.tracking.impression,
                                    nonce: o
                                })) : ra(u, {
                                    locale: t,
                                    multiple: r
                                }))
                        }
                    }
                    function $c(n) {
                        return ra("script", {
                            nonce: n.nonce,
                            innerHTML: "(" +
                                function() {
                                    var n = "[optional]";
                                    function e(n) {
                                        return [].slice.call(n)
                                    }
                                    function t(n) {
                                        return e(n).filter((function(n) {
                                            return "style" !== n.tagName.toLowerCase()
                                        }))
                                    }
                                    function r(n, e) {
                                        return t((e = e || document).querySelectorAll(n))
                                    }
                                    function o(n) {
                                        n.classList.remove("hidden")
                                    }
                                    function i(n) {
                                        n.classList.add("hidden")
                                    }
                                    function a(n) {
                                        return t(n.children)
                                    }
                                    function u(n) {
                                        return parseInt(n.getAttribute("optional") || 0, 10)
                                    }
                                    function l(n) {
                                        return function(n) {
                                            for (var e = 0,
                                                     t = 0; t < n.length; t++) e += n[t];
                                            return e
                                        } (n.map((function(n) {
                                            return Math.ceil(n.getBoundingClientRect().width)
                                        })))
                                    }
                                    function s(n) {
                                        if (null == n ? void 0 : n.classList.contains("paypal-button-tagline")) return 0;
                                        var e = n.parentElement,
                                            t = (null == e ? void 0 : e.getBoundingClientRect().height) || 60;
                                        return t <= 34 ? 3 : t <= 49 ? 5 : t <= 59 ? 6 : 7
                                    }
                                    var c = function(n) {
                                        for (var e = [], t = 0; t < n.length; t++) {
                                            var r = n[t]; - 1 === e.indexOf(r) && e.push(r)
                                        }
                                        return e
                                    } (r(n).map((function(n) {
                                        return n.parentElement
                                    })).filter(Boolean)).map((function(t) {
                                        return {
                                            optionalParent: t,
                                            allChildren: a(t),
                                            optionalChildren: e(r(n, t)).sort((function(n, e) {
                                                return u(n) - u(e)
                                            }))
                                        }
                                    }));
                                    function d() {
                                        for (var n = 0; n < c.length; n++) {
                                            var e = c[n],
                                                t = e.optionalParent,
                                                r = e.optionalChildren,
                                                a = t.offsetWidth,
                                                u = l(e.allChildren) - l(r),
                                                d = s(t) * (null == r ? void 0 : r.length),
                                                p = r.reduce((function(n, e) {
                                                    return n + e.offsetWidth
                                                }), 0);
                                            r.forEach((u += d + p) > a ?
                                                function(n) {
                                                    return i(n)
                                                }: function(n) {
                                                    return o(n)
                                                })
                                        }
                                    }
                                    function p() {
                                        for (var n = r(".paypal-button-rebrand"), e = 0; e < n.length; e++) {
                                            var t = n[e],
                                                u = t.querySelector(".paypal-logo-paypal-rebrand"),
                                                c = t.querySelector(".paypal-logo-pp-rebrand"),
                                                d = t.querySelector(".paypal-button-label-container");
                                            if (d && u && c) {
                                                var p = d.offsetWidth,
                                                    f = s(d);
                                                i(u),
                                                    i(c),
                                                    l(a(d).filter((function(n) {
                                                        return ! n.classList.contains("paypal-logo-pp-rebrand")
                                                    }))) + f > p ? (i(u), o(c)) : (o(u), i(c))
                                            }
                                        }
                                    }
                                    var f, h, g, m = function(n) {
                                            var e = !1;
                                            return function() {
                                                e || (e = !0, n.apply(void 0, arguments))
                                            }
                                        } ((f = function() {
                                            window.addEventListener("resize", (function() {
                                                d(),
                                                    p()
                                            })),
                                                setTimeout((function() {
                                                    d(),
                                                        p()
                                                })),
                                            document.body && document.body.classList.add("dom-ready")
                                        },
                                        void 0 === h && (h = 50),
                                            function() {
                                                for (var n = arguments.length,
                                                         e = new Array(n), t = 0; t < n; t++) e[t] = arguments[t];
                                                clearTimeout(g),
                                                    g = setTimeout((function() {
                                                        f.apply(void 0, e)
                                                    }), h)
                                            })),
                                        y = function() {
                                            d(),
                                                p(),
                                                m()
                                        };
                                    d(),
                                        p(),
                                        document.addEventListener("DOMContentLoaded", y),
                                        window.addEventListener("load", y),
                                        window.addEventListener("resize", y)
                                }.toString() + ")()"
                        })
                    }
                    var Qc, nd = "\n    ." + Wi.POWERED_BY + ' {\n        text-align: center;\n        margin: 10px auto;\n        height: 14px;\n        font-family: system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n        font-size: 11px;\n        font-weight: 400;\n        font-style: italic;\n        font-stretch: normal;\n        color: #7b8388;\n        position: relative;\n        margin-right: 3px;\n        bottom: 3px;\n    }\n\n    .' + Wi.POWERED_BY + " > ." + Wi.TEXT + ",\n    ." + Wi.POWERED_BY + " > .paypal-logo {\n        display: inline-block;\n        vertical-align: middle;\n        height: 16px;\n        line-height: 16px;\n        font-size: 11px;\n    }\n";
                    function ed(n) {
                        var e, t, r = n.nonce,
                            o = n.shouldApplyRebrandedStyles,
                            i = void 0 !== o && o;
                        return (e = {})[Pi.REBRAND_BLUE] = "black",
                            e[Pi.REBRAND_BLACK] = "black",
                            e[Pi.REBRAND_WHITE] = "black",
                            (t = {})[Pi.REBRAND_BLUE] = "#000000",
                            t[Pi.REBRAND_BLACK] = "#000000",
                            t[Pi.REBRAND_WHITE] = "#000000",
                            ra("div", {
                                    class: Wi.POWERED_BY + " " + (i ? "powered-by-paypal-rebrand": "powered-by-paypal-legacy")
                                },
                                ra("style", {
                                    nonce: r,
                                    innerHTML: i ? "\n    ." + Wi.POWERED_BY + ' {\n        text-align: center;\n        margin: 10px auto;\n        height: 18px;\n        font-family: PayPal Plain, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;\n        font-size: 10px;\n        font-weight: 400;\n        color: #000000;\n        font-stretch: normal;\n        position: relative;\n        margin-right: 2px;\n        bottom: 1px;\n    }\n\n    .' + Wi.POWERED_BY + " > ." + Wi.TEXT + ",\n    ." + Wi.POWERED_BY + " > .paypal-logo {\n        display: inline-block;\n        vertical-align: middle;\n        height: 18px;\n        line-height: 18px;\n        font-size: 10px;\n    }\n  ": nd
                                }), ra(ts, null))
                    }
                    function td(n) {
                        var e = n.markup,
                            t = [Wi.BUTTON_MESSAGE, Wi.BUTTON_MESSAGE + "-" + n.position].join(" ");
                        return ra("div", "string" != typeof e ? {
                            class: t + " " + Wi.BUTTON_MESSAGE_RESERVE,
                            style: "height:36px"
                        }: {
                            class: t,
                            innerHTML: e
                        })
                    }
                    function rd(n) {
                        var e = n.wallet,
                            t = n.fundingSource;
                        if (function(n) {
                            return !! n.wallet && !n.hasShippingCallback
                        } ({
                            wallet: e,
                            hasShippingCallback: n.hasShippingCallback
                        })) {
                            var r = e && e[t.toString()],
                                o = r && r.instruments;
                            if (o && o.length) return o[0]
                        }
                    }
                    var od = ((Qc = {})[lt.CREDIT] = "credit", Qc);
                    function id(n) {
                        var e = n.onClick,
                            t = void 0 === e ? Wn: e,
                            r = n.showLoadingSpinner,
                            o = void 0 !== r && r,
                            i = function(n) {
                                if (!n) throw new Error("Expected props");
                                var e = Boolean(n.onShippingChange || n.onShippingAddressChange || n.onShippingOptionsChange),
                                    t = n.buyerCountry,
                                    r = n.clientID,
                                    o = n.fundingSource,
                                    i = n.style,
                                    a = void 0 === i ? {}: i,
                                    u = n.remembered,
                                    l = void 0 === u ? [] : u,
                                    s = n.locale,
                                    c = void 0 === s ? mc.LOCALE: s,
                                    d = n.env,
                                    p = void 0 === d ? mc.ENV: d,
                                    f = n.platform,
                                    h = void 0 === f ? mc.PLATFORM: f,
                                    g = n.commit,
                                    m = void 0 === g ? mc.COMMIT: g,
                                    y = n.fundingEligibility,
                                    v = n.sessionID,
                                    w = void 0 === v ? Bn() : v,
                                    b = n.buttonSessionID,
                                    E = void 0 === b ? Bn() : b,
                                    T = n.enableFunding,
                                    A = n.components,
                                    O = void 0 === A ? ["buttons"] : A,
                                    C = n.nonce,
                                    R = n.onShippingChange,
                                    N = n.onShippingAddressChange,
                                    x = n.onShippingOptionsChange,
                                    L = n.hasShippingCallback,
                                    S = void 0 === L ? e: L,
                                    _ = n.personalization,
                                    P = n.clientAccessToken,
                                    B = n.customerId,
                                    F = n.content,
                                    k = n.wallet,
                                    D = n.flow,
                                    I = void 0 === D ? "purchase": D,
                                    U = n.experiment,
                                    M = void 0 === U ? {}: U,
                                    q = n.vault,
                                    H = n.userIDToken,
                                    W = n.applePay,
                                    j = n.applePaySupport,
                                    z = void 0 !== j && j,
                                    K = n.supportsPopups,
                                    Z = void 0 !== K && K,
                                    V = n.supportedNativeBrowser,
                                    Y = void 0 !== V && V,
                                    G = n.showPayLabel,
                                    X = void 0 === G || G,
                                    J = n.displayOnly,
                                    $ = void 0 === J ? [] : J,
                                    Q = n.message,
                                    nn = n.messageMarkup,
                                    en = n.renderedButtons,
                                    tn = n.shopperSessionId,
                                    rn = n.userAgent,
                                    on = c.country,
                                    an = c.lang;
                                if (!on || -1 === bc.indexOf(on)) throw new Error("Expected valid country, got " + (on || "undefined"));
                                if (!an || -1 === pt[on].indexOf(an)) throw new Error("Expected valid lang, got " + (an || "undefined"));
                                if (l.some((function(n) {
                                    return - 1 === Ec.indexOf(n)
                                }))) throw new Error("Expected valid funding sources, got " + JSON.stringify(l));
                                if ( - 1 === Tc.indexOf(p)) throw new Error("Expected valid env, got " + (p || "undefined"));
                                if (!y) throw new Error("Expected fundingEligibility");
                                if ( - 1 === Ac.indexOf(h)) throw new Error("Expected valid platform, got " + (h || "undefined"));
                                if (o) {
                                    if ( - 1 === Hl.indexOf(o)) throw new Error("Invalid funding source: " + o);
                                    if (!ic(o, {
                                        platform: h,
                                        fundingSource: o,
                                        fundingEligibility: y,
                                        enableFunding: T,
                                        experiment: M,
                                        components: O,
                                        onShippingChange: R,
                                        onShippingAddressChange: N,
                                        onShippingOptionsChange: x,
                                        hasShippingCallback: S,
                                        wallet: k,
                                        flow: I,
                                        applePaySupport: z,
                                        supportsPopups: Z,
                                        supportedNativeBrowser: Y,
                                        displayOnly: $,
                                        userAgent: rn
                                    })) throw new Error("Funding Source not eligible: " + o)
                                }
                                return {
                                    buyerCountry: t,
                                    clientID: r,
                                    fundingSource: o,
                                    style: a = vc(n, a),
                                    locale: c,
                                    remembered: l,
                                    env: p,
                                    fundingEligibility: y,
                                    platform: h,
                                    clientAccessToken: P,
                                    buttonSessionID: E,
                                    commit: m,
                                    sessionID: w,
                                    nonce: C,
                                    enableFunding: T,
                                    components: O,
                                    onShippingChange: R,
                                    onShippingAddressChange: N,
                                    onShippingOptionsChange: x,
                                    hasShippingCallback: S,
                                    personalization: _,
                                    content: F,
                                    wallet: k,
                                    flow: I,
                                    experiment: M,
                                    vault: q,
                                    userIDToken: H,
                                    customerId: B,
                                    shopperSessionId: tn,
                                    applePay: W,
                                    applePaySupport: z,
                                    supportsPopups: Z,
                                    supportedNativeBrowser: Y,
                                    showPayLabel: X,
                                    displayOnly: $,
                                    message: Q = Q ? wc(Q, a.layout, en) : void 0,
                                    messageMarkup: nn,
                                    userAgent: rn
                                }
                            } (n),
                            a = i.buyerCountry,
                            u = i.commit,
                            l = i.content,
                            s = i.customerId,
                            c = i.env,
                            d = i.experiment,
                            p = i.flow,
                            f = i.fundingEligibility,
                            h = i.fundingSource,
                            g = i.hasShippingCallback,
                            m = i.locale,
                            y = i.message,
                            v = i.messageMarkup,
                            w = i.nonce,
                            b = i.onShippingAddressChange,
                            E = i.onShippingChange,
                            T = i.onShippingOptionsChange,
                            A = i.personalization,
                            O = i.showPayLabel,
                            C = i.style,
                            R = i.userIDToken,
                            N = i.vault,
                            x = i.wallet,
                            L = C.layout,
                            S = C.shape,
                            _ = C.tagline,
                            P = ac({
                                fundingSource: h,
                                layout: L,
                                remembered: i.remembered,
                                platform: i.platform,
                                fundingEligibility: f,
                                enableFunding: i.enableFunding,
                                components: i.components,
                                onShippingChange: E,
                                onShippingAddressChange: b,
                                onShippingOptionsChange: T,
                                hasShippingCallback: g,
                                flow: p,
                                wallet: x,
                                applePaySupport: i.applePaySupport,
                                supportsPopups: i.supportsPopups,
                                supportedNativeBrowser: i.supportedNativeBrowser,
                                experiment: d,
                                displayOnly: i.displayOnly,
                                userAgent: i.userAgent
                            }),
                            B = P.length > 1;
                        if (!P.length) throw new Ci("No eligible funding fundingSources found to render buttons:\n\n" + JSON.stringify(f, null, 4)); - 1 !== P.indexOf(lt.CARD) && (P = [].concat(P.filter((function(n) {
                            return n !== lt.CARD
                        })), [lt.CARD]));
                        var F = P.some((function(n) {
                                return st.includes(n)
                            })),
                            k = function(n) {
                                for (var e = n.wallet,
                                         t = n.layout,
                                         r = n.fundingSources,
                                         o = n.hasShippingCallback,
                                         i = {},
                                         a = 0; a < r.length; a++) {
                                    var u = r[a],
                                        l = rd({
                                            wallet: e,
                                            fundingSource: u,
                                            hasShippingCallback: o
                                        });
                                    l && (i[u] = l)
                                }
                                for (var s = 0,
                                         c = Object.keys(i); s < c.length; s++) for (var d = c[s], p = 0, f = Object.keys(od); p < f.length; p++) {
                                    var h = f[p];
                                    d !== h && -1 !== r.indexOf(h) && i[d] && i[d].type === od[h] && delete i[d]
                                }
                                if (t === ki.HORIZONTAL) for (var g = !1,
                                                                  m = 0; m < r.length; m++) {
                                    var y = r[m];
                                    i[y] && (g ? delete i[y] : g = !0)
                                }
                                return i
                            } ({
                                wallet: x,
                                fundingSources: P,
                                layout: L,
                                hasShippingCallback: g
                            }),
                            D = "purchase" === p && (R || Object.keys(k).length),
                            I = _ && L === ki.HORIZONTAL && !h && !y,
                            U = fc(L, P);
                        return ra("div", {
                                class: [Wi.CONTAINER, Wi.AUTORESIZE_CONTAINER, Wi.LAYOUT + "-" + L, Wi.SHAPE + "-" + S, Wi.NUMBER + "-" + (B ? "multiple": "single"), Wi.ENV + "-" + c, "" + (D ? Wi.WALLET: "")].join(" ")
                            },
                            ra(jc, {
                                nonce: w,
                                style: C,
                                fundingEligibility: f
                            }), y && y.position === Ui.TOP ? ra(td, {
                                markup: v,
                                position: y.position
                            }) : null, P.map((function(n, e) {
                                return ra(Xc, {
                                    content: l,
                                    i: e,
                                    style: C,
                                    merchantFundingSource: h,
                                    fundingSource: n,
                                    multiple: B,
                                    env: c,
                                    buyerCountry: a,
                                    locale: m,
                                    nonce: w,
                                    fundingEligibility: f,
                                    wallet: x,
                                    onShippingChange: E,
                                    onShippingAddressChange: b,
                                    onShippingOptionsChange: T,
                                    onClick: t,
                                    userIDToken: R,
                                    customerId: s,
                                    personalization: A,
                                    tagline: _,
                                    commit: u,
                                    experiment: d,
                                    flow: p,
                                    vault: N,
                                    instrument: k[n],
                                    showPayLabel: O,
                                    showLoadingSpinner: o
                                })
                            })), I ? ra(Jc, {
                                fundingSource: P[0],
                                style: C,
                                locale: m,
                                multiple: B,
                                nonce: w,
                                personalization: A
                            }) : null, -1 !== P.indexOf(lt.CARD) ? ra("div", {
                                id: "card-fields-container",
                                class: "card-fields-container"
                            }) : null, F ? ra("div", {
                                id: "payment-fields-container",
                                className: "payment-fields-container"
                            }) : null, U ? ra(ed, {
                                locale: m,
                                nonce: w,
                                buttonColor: C.color,
                                shouldApplyRebrandedStyles: C.shouldApplyRebrandedStyles
                            }) : null, y && y.position === Ui.BOTTOM ? ra(td, {
                                markup: v,
                                position: y.position
                            }) : null, ra($c, {
                                nonce: w
                            }))
                    }
                    function ad(n) {
                        var e, t = n.nonce,
                            r = n.onRenderCheckout,
                            o = n.props,
                            i = Bc(o.appSwitchWhenAvailable);
                        return ra("html", null, ra("body", null, ra(id, P({},
                            o, {
                                onClick: function(n, a) {
                                    var u, l = a.fundingSource,
                                        s = a.card;
                                    if (mr().info("paypal_js_sdk_v5_button_prerender_click", {
                                        fundingSource: l,
                                        card: s,
                                        eagerOrderCreation: String(i),
                                        buttonsSessionID: o.buttonSessionID
                                    }).track(((u = {}).button_session_id = o.buttonSessionID, u.context_type = "button_session_id", u.context_id = o.buttonSessionID, u.transition_name = "process_button_prerender_click", u.selected_payment_method = l, u)), !i) if (l === lt.VENMO || l === lt.APPLEPAY);
                                    else if (R() && !o.merchantRequestedPopupsDisabled) {
                                        e && !e.closed || (e = nn(Be("", {
                                            width: 500,
                                            height: 590
                                        })));
                                        var c = window.document,
                                            d = ra(Ul, {
                                                nonce: t
                                            }).render(da({
                                                doc: c
                                            }));
                                        Fe(e, d),
                                            r({
                                                win: e,
                                                fundingSource: l,
                                                card: s,
                                                hostedButtonId: o.hostedButtonId
                                            })
                                    } else r({
                                        fundingSource: l,
                                        card: s
                                    })
                                },
                                showLoadingSpinner: i
                            }))))
                    }
                    var ud = Mn((function() {
                        var n = [];
                        return Ei({
                            tag: "paypal-buttons",
                            url: function() {
                                return "https://www.sandbox.paypal.com/smart/buttons"
                            },
                            domain: fr(),
                            getExtensions: function(n) {
                                return {
                                    hasReturned: function() {
                                        return Ki()
                                    },
                                    resume: function() {
                                        var e = zi();
                                        if (!e) throw new Error("Resume Flow is not supported.");
                                        mr().metricCounter({
                                            namespace: "resume_flow.init.count",
                                            event: "info",
                                            dimensions: {
                                                orderID: Boolean(e.orderID),
                                                vaultSessionID: Boolean(e.vaultSetupToken),
                                                billingToken: Boolean(e.billingToken),
                                                payerID: Boolean(e.payerID)
                                            }
                                        });
                                        var t = Fc(),
                                            r = n.getProps();
                                        t({
                                            onApprove: r.onApprove,
                                            onError: r.onError,
                                            onCancel: r.onCancel,
                                            onClick: r.onClick,
                                            onComplete: r.onComplete,
                                            resumeFlowParams: e
                                        }).render("body")
                                    }
                                }
                            },
                            autoResize: {
                                width: !1,
                                height: !0,
                                element: "." + Wi.AUTORESIZE_CONTAINER
                            },
                            containerTemplate: Dc,
                            logger: mr(),
                            prerenderTemplate: function(n) {
                                var e = n.state,
                                    t = n.props,
                                    r = n.doc,
                                    o = t.buttonSessionID;
                                return n.event.on("zoid-prerendered", (function() {
                                    Vi({
                                        buttonSessionID: o,
                                        phase: "buttons-first-render-end"
                                    });
                                    try {
                                        var n, e = function(n) {
                                                var e = function() {
                                                        if (window.performance) {
                                                            var n = performance.now(),
                                                                e = (new Date).getTime();
                                                            return window.performance.timeOrigin || window.performance.timing.navigationStart || e - n
                                                        }
                                                        throw new Error("window.performance not supported")
                                                    } (),
                                                    t = Zi({
                                                        buttonSessionID: n,
                                                        phase: "buttons-first-render"
                                                    });
                                                return {
                                                    comp: {
                                                        "first-render": {
                                                            start: e + t,
                                                            tt: Zi({
                                                                buttonSessionID: n,
                                                                phase: "buttons-first-render-end"
                                                            }) - t
                                                        }
                                                    }
                                                }
                                            } (o),
                                            t = ((n = {}).state_name = "CPL_LATENCY_METRICS", n.transition_name = "process_client_metrics", n.context_id = o, n.page_name = "main:xo:paypal-components:smart-payment-buttons", n.cpl_comp_metrics = JSON.stringify((null == e ? void 0 : e.comp) || {}), n);
                                        mr().track(t)
                                    } catch(n) {
                                        mr().track({
                                            err: n.message || "CPL_LOG_PHASE_ERROR",
                                            details: n.details,
                                            stack: JSON.stringify(n.stack || n)
                                        })
                                    }
                                })),
                                    ra(ad, {
                                        nonce: t.nonce,
                                        props: t,
                                        onRenderCheckout: function(n) {
                                            e.prerenderDetails = {
                                                win: n.win,
                                                fundingSource: n.fundingSource,
                                                card: n.card,
                                                hostedButtonId: n.hostedButtonId
                                            }
                                        }
                                    }).render(da({
                                        doc: r
                                    }))
                            },
                            attributes: function(n) {
                                var e = n.props,
                                    t = "";
                                return e.fundingSource && (t = "-" + e.fundingSource),
                                    {
                                        iframe: {
                                            allowpaymentrequest: "allowpaymentrequest",
                                            scrolling: "no",
                                            title: "PayPal" + t
                                        }
                                    }
                            },
                            eligible: function(e) {
                                var t, r = e.props,
                                    o = r.fundingSource,
                                    i = r.onShippingChange,
                                    a = r.onShippingAddressChange,
                                    u = r.onShippingOptionsChange,
                                    l = r.style,
                                    c = void 0 === l ? {}: l,
                                    d = r.enableFunding,
                                    p = void 0 === d ? jt() : d,
                                    f = r.fundingEligibility,
                                    h = void 0 === f ? $l() : f,
                                    g = r.supportsPopups,
                                    m = void 0 === g ? r.fundingSource === lt.VENMO ? rc(r.experiment, R(), s()) : R() : g,
                                    y = r.supportedNativeBrowser,
                                    v = void 0 === y ? r.fundingSource === lt.VENMO ? oc(r.experiment, s()) : Rc() : y,
                                    w = r.experiment,
                                    b = void 0 === w ? Lc() : w,
                                    E = r.createBillingAgreement,
                                    T = r.createSubscription,
                                    A = r.createVaultSetupToken,
                                    O = r.displayOnly,
                                    C = r.userAgent,
                                    N = void 0 === C ? s() : C,
                                    x = Cc({
                                        createBillingAgreement: E,
                                        createSubscription: T,
                                        createVaultSetupToken: A
                                    }),
                                    S = !(null == h || null == (t = h.applepay) || !t.eligible) && L();
                                return o ? ( - 1 === n.indexOf(o) && n.push(o), ic(o, {
                                    layout: c.layout,
                                    platform: Nt(),
                                    fundingSource: o,
                                    fundingEligibility: h,
                                    enableFunding: p,
                                    components: ["buttons", "card-fields"],
                                    onShippingChange: i,
                                    onShippingAddressChange: a,
                                    onShippingOptionsChange: u,
                                    flow: x,
                                    applePaySupport: S,
                                    supportsPopups: m,
                                    supportedNativeBrowser: v,
                                    experiment: b,
                                    displayOnly: O,
                                    userAgent: N
                                }) ? {
                                    eligible: !0
                                }: {
                                    eligible: !1,
                                    reason: o + " is not eligible"
                                }) : {
                                    eligible: !0
                                }
                            },
                            props: {
                                appSwitchWhenAvailable: {
                                    type: "boolean",
                                    queryParam: !0,
                                    required: !1
                                },
                                showPayPalAppSwitchOverlay: {
                                    type: "function",
                                    queryParam: !1,
                                    value: function(n) {
                                        var e = n.props.buttonSessionID;
                                        return function(n) {
                                            var t, r = ra(kc, {
                                                buttonSessionID: e,
                                                close: n.close,
                                                focus: n.focus
                                            }).render(da({
                                                doc: document
                                            }));
                                            null == (t = document.body) || t.appendChild(r)
                                        }
                                    }
                                },
                                hidePayPalAppSwitchOverlay: {
                                    type: "function",
                                    queryParam: !1,
                                    value: function(n) {
                                        var e = n.props.buttonSessionID;
                                        return function(n) {
                                            var t, r = n.close,
                                                o = null == (t = document.getElementsByName("paypal-overlay-" + e)) ? void 0 : t[0];
                                            o && (r(), o.remove())
                                        }
                                    }
                                },
                                redirect: {
                                    type: "function",
                                    sendToChild: !0,
                                    value: function() {
                                        return function(n) {
                                            if ("sandbox" !== mt.LOCAL && !
                                                function(n) {
                                                    try {
                                                        var e = new URL(n).origin;
                                                        return Boolean(e.match(fr())) || Boolean(e.match(/http.*(\.|\/)venmo\.com(:\d*)?$/))
                                                    } catch(n) {
                                                        return ! 1
                                                    }
                                                } (n)) throw new Error("Unable to redirect to provided url " + n);
                                            location.href = n
                                        }
                                    }
                                },
                                hashChangeHandler: {
                                    type: "function",
                                    sendToChild: !1,
                                    queryParam: !1,
                                    value: function() {
                                        return function(n) {
                                            Pc({
                                                eventName: "paypal-hashchange",
                                                payload: {
                                                    url: n.newURL
                                                }
                                            })
                                        }
                                    }
                                },
                                listenForHashChanges: {
                                    type: "function",
                                    queryParam: !1,
                                    value: function(n) {
                                        var e = n.props;
                                        return function() {
                                            window.addEventListener("hashchange", e.hashChangeHandler)
                                        }
                                    }
                                },
                                removeListenerForHashChanges: {
                                    type: "function",
                                    queryParam: !1,
                                    value: function(n) {
                                        var e = n.props;
                                        return function() {
                                            window.removeEventListener("hashchange", e.hashChangeHandler)
                                        }
                                    }
                                },
                                visibilityChangeHandler: {
                                    type: "function",
                                    sendToChild: !1,
                                    queryParam: !1,
                                    value: function() {
                                        return function() {
                                            Pc({
                                                eventName: "paypal-visibilitychange",
                                                payload: {
                                                    url: window.location.href,
                                                    visibilityState: document.visibilityState
                                                }
                                            })
                                        }
                                    }
                                },
                                listenForVisibilityChange: {
                                    type: "function",
                                    queryParam: !1,
                                    value: function(n) {
                                        var e = n.props;
                                        return function() {
                                            window.addEventListener("visibilitychange", e.visibilityChangeHandler)
                                        }
                                    }
                                },
                                removeListenerForVisibilityChanges: {
                                    type: "function",
                                    queryParam: !1,
                                    value: function(n) {
                                        var e = n.props;
                                        return function() {
                                            window.removeEventListener("visibilitychange", e.visibilityChangeHandler)
                                        }
                                    }
                                },
                                allowBillingPayments: {
                                    type: "boolean",
                                    queryParam: !0,
                                    required: !1,
                                    default:
                                        function() {
                                            return ! 0
                                        }
                                },
                                amount: {
                                    type: "string",
                                    required: !1,
                                    queryParam: !0,
                                    value: Gt
                                },
                                apiStageHost: {
                                    type: "string",
                                    value: Et,
                                    required: !1
                                },
                                applePay: {
                                    type: "function",
                                    required: !1,
                                    value: xc
                                },
                                applePaySupport: {
                                    type: "boolean",
                                    value: function(n) {
                                        var e, t, r = n.props;
                                        return ! (null == r || null == (e = r.fundingEligibility) || null == (t = e.applepay) || !t.eligible) && L()
                                    },
                                    queryParam: !0
                                },
                                branded: {
                                    type: "boolean",
                                    queryParam: !0,
                                    required: !1
                                },
                                buttonLocation: {
                                    type: "string",
                                    value: function() {
                                        return window.location.hostname
                                    },
                                    queryParam: !1
                                },
                                buttonSessionID: {
                                    type: "string",
                                    value: Bn,
                                    queryParam: !0
                                },
                                buttonSize: {
                                    type: "string",
                                    required: !1,
                                    value: function(n) {
                                        return function(n, e) {
                                            var t, r;
                                            if (e) {
                                                var o = 0;
                                                if ("string" == typeof e) {
                                                    var i = document.querySelector(e);
                                                    o = (null == i ? void 0 : i.offsetWidth) || 0
                                                } else {
                                                    var a;
                                                    o = null == (a = Le(e)) ? void 0 : a.offsetWidth
                                                }
                                                var u = (null == n || null == (t = n.style) ? void 0 : t.layout) || ki.HORIZONTAL,
                                                    l = (null == n || null == (r = n.renderedButtons) ? void 0 : r.length) || 1,
                                                    s = sc.tiny,
                                                    c = sc.small,
                                                    d = sc.medium,
                                                    p = sc.large,
                                                    f = sc.huge;
                                                if (o) {
                                                    var h = Math.min(o, 750);
                                                    if (u === ki.HORIZONTAL && 2 === l && (h = (h - 8) / 2), s.minWidth <= h && h <= s.maxWidth) return Fi.TINY;
                                                    if (c.minWidth < h && h <= c.maxWidth) return Fi.SMALL;
                                                    if (d.minWidth < h && h <= d.maxWidth) return Fi.MEDIUM;
                                                    if (p.minWidth < h && h <= p.maxWidth) return Fi.LARGE;
                                                    if (f.minWidth < h) return Fi.HUGE
                                                }
                                            }
                                        } (n.props, n.container)
                                    },
                                    queryParam: !0
                                },
                                buyerCountry: {
                                    type: "string",
                                    queryParam: !0,
                                    required: !1,
                                    value: Zt
                                },
                                clientAccessToken: {
                                    type: "string",
                                    required: !1,
                                    queryParam: !0,
                                    value: Xt
                                },
                                customerId: {
                                    type: "string",
                                    required: !1,
                                    queryParam: !0,
                                    value: lr
                                },
                                clientID: {
                                    type: "string",
                                    value: It,
                                    queryParam: !0
                                },
                                clientMetadataID: {
                                    type: "string",
                                    required: !1,
                                    default:
                                        function() {
                                            var n = Or(),
                                                e = xi();
                                            return n || e
                                        },
                                    queryParam: !0
                                },
                                commit: {
                                    type: "boolean",
                                    queryParam: !0,
                                    value: qt
                                },
                                components: {
                                    type: "array",
                                    queryParam: !0,
                                    value: Ct
                                },
                                createBillingAgreement: {
                                    type: "function",
                                    required: !1
                                },
                                createOrder: {
                                    type: "function",
                                    required: !1
                                },
                                createSubscription: {
                                    type: "function",
                                    required: !1
                                },
                                createVaultSetupToken: {
                                    type: "function",
                                    required: !1
                                },
                                csp: {
                                    type: "object",
                                    required: !1,
                                    value: function() {
                                        return {
                                            nonce: nr()
                                        }
                                    }
                                },
                                currency: {
                                    type: "string",
                                    queryParam: !0,
                                    value: Wt
                                },
                                debug: {
                                    type: "boolean",
                                    value: Ot,
                                    queryParam: !0
                                },
                                disableCard: {
                                    type: "array",
                                    queryParam: !0,
                                    value: Kt
                                },
                                disableFunding: {
                                    type: "array",
                                    queryParam: !0,
                                    value: zt
                                },
                                disableSetCookie: {
                                    type: "boolean",
                                    queryParam: !0,
                                    required: !1,
                                    value: xt
                                },
                                displayOnly: {
                                    type: "array",
                                    queryParam: !0,
                                    required: !1,
                                    value: function(n) {
                                        var e = n.props;
                                        return (null == e ? void 0 : e.displayOnly) || []
                                    }
                                },
                                eagerOrderCreation: {
                                    type: "boolean",
                                    queryParam: !0,
                                    value: function(n) {
                                        return Bc(n.props.appSwitchWhenAvailable)
                                    }
                                },
                                enableFunding: {
                                    type: "array",
                                    queryParam: !0,
                                    value: jt
                                },
                                enableThreeDomainSecure: {
                                    type: "boolean",
                                    value: er
                                },
                                enableVault: {
                                    type: "boolean",
                                    required: !1,
                                    queryParam: !0
                                },
                                env: {
                                    type: "string",
                                    queryParam: !0,
                                    value: wt
                                },
                                experiment: {
                                    type: "object",
                                    queryParam: !0,
                                    value: Lc
                                },
                                experimentation: {
                                    type: "object",
                                    queryParam: !0,
                                    required: !1,
                                    value: Lt
                                },
                                flow: {
                                    type: "string",
                                    queryParam: !0,
                                    value: function(n) {
                                        var e = n.props;
                                        return Cc({
                                            createBillingAgreement: e.createBillingAgreement,
                                            createSubscription: e.createSubscription,
                                            createVaultSetupToken: e.createVaultSetupToken
                                        })
                                    }
                                },
                                fundingEligibility: {
                                    type: "object",
                                    default:
                                    $l,
                                    value: "sandbox" === mt.LOCAL ? void 0 : $l,
                                    queryParam: !0,
                                    serialization: "base64"
                                },
                                fundingSource: {
                                    type: "string",
                                    queryParam: !0,
                                    required: !1,
                                    validate: function(n) {
                                        var e = n.props,
                                            t = e.fundingSource,
                                            r = e.onShippingChange,
                                            o = e.onShippingAddressChange,
                                            i = e.onShippingOptionsChange,
                                            a = e.style,
                                            u = void 0 === a ? {}: a,
                                            l = e.fundingEligibility,
                                            c = void 0 === l ? $l() : l,
                                            d = e.enableFunding,
                                            p = void 0 === d ? jt() : d,
                                            f = e.experiment,
                                            h = void 0 === f ? Lc() : f,
                                            g = e.applePaySupport,
                                            m = e.supportsPopups,
                                            y = e.supportedNativeBrowser,
                                            v = e.createBillingAgreement,
                                            w = e.createSubscription,
                                            b = e.createVaultSetupToken,
                                            E = e.displayOnly,
                                            T = e.userAgent,
                                            A = void 0 === T ? s() : T,
                                            O = Cc({
                                                createBillingAgreement: v,
                                                createSubscription: w,
                                                createVaultSetupToken: b
                                            }),
                                            C = u.layout,
                                            R = Nt();
                                        if (t && !ic(t, {
                                            layout: C,
                                            platform: R,
                                            fundingSource: t,
                                            fundingEligibility: c,
                                            enableFunding: p,
                                            experiment: h,
                                            components: ["buttons", "card-fields"],
                                            onShippingChange: r,
                                            onShippingAddressChange: o,
                                            onShippingOptionsChange: i,
                                            flow: O,
                                            applePaySupport: g,
                                            supportsPopups: m,
                                            supportedNativeBrowser: y,
                                            displayOnly: E,
                                            userAgent: A
                                        })) throw new Error(t + " is not eligible")
                                    }
                                },
                                getPageUrl: {
                                    type: "function",
                                    value: function() {
                                        return function() {
                                            return window.location.href
                                        }
                                    }
                                },
                                getPopupBridge: {
                                    type: "function",
                                    required: !1,
                                    value: function() {
                                        return function() {
                                            if (window.popupBridge) return {
                                                nativeUrl: window.popupBridge.getReturnUrlPrefix(),
                                                start: function(n) {
                                                    return new H((function(e, t) {
                                                        window.popupBridge.onComplete = function(n, r) {
                                                            n || r || e({
                                                                opType: "user_closed_window"
                                                            });
                                                            var o = r && r.queryItems ? r.queryItems: {};
                                                            return n ? t(n) : e(o)
                                                        },
                                                            window.popupBridge.open(n)
                                                    }))
                                                }
                                            }
                                        }
                                    }
                                },
                                getPrerenderDetails: {
                                    type: "function",
                                    value: function(n) {
                                        var e = n.state;
                                        return function() {
                                            return e.prerenderDetails
                                        }
                                    }
                                },
                                getQueriedEligibleFunding: {
                                    type: "function",
                                    value: function() {
                                        return function() {
                                            return n
                                        }
                                    }
                                },
                                hostedButtonId: {
                                    type: "string",
                                    required: !1,
                                    queryParam: !0
                                },
                                intent: {
                                    type: "string",
                                    queryParam: !0,
                                    value: Mt
                                },
                                jsSdkLibrary: {
                                    type: "string",
                                    queryParam: !0,
                                    required: !1,
                                    value: rr
                                },
                                locale: {
                                    type: "object",
                                    queryParam: !0,
                                    value: Qt
                                },
                                merchantID: {
                                    type: "array",
                                    queryParam: !0,
                                    value: Ut
                                },
                                merchantRequestedPopupsDisabled: {
                                    type: "boolean",
                                    required: !1,
                                    value: $t
                                },
                                message: {
                                    type: "object",
                                    queryParam: !0,
                                    required: !1,
                                    decorate: function(n) {
                                        var e = n.props;
                                        return wc(n.value, e.style.layout, e.renderedButtons)
                                    }
                                },
                                nonce: {
                                    type: "string",
                                    default:
                                    nr
                                },
                                onApprove: {
                                    type: "function",
                                    required: !1
                                },
                                onCancel: {
                                    type: "function",
                                    required: !1
                                },
                                onClick: {
                                    type: "function",
                                    required: !1
                                },
                                onComplete: {
                                    type: "function",
                                    required: !1
                                },
                                onInit: {
                                    type: "function",
                                    required: !1,
                                    default:
                                        function() {
                                            return Wn
                                        },
                                    decorate: function(n) {
                                        var e = n.value,
                                            t = void 0 === e ? Wn: e;
                                        return Vi({
                                            buttonSessionID: n.props.buttonSessionID,
                                            phase: "buttons-first-render"
                                        }),
                                            function() {
                                                return t.apply(void 0, arguments)
                                            }
                                    }
                                },
                                onMessageClick: {
                                    type: "function",
                                    required: !1,
                                    value: function(n) {
                                        var e, t = n.props;
                                        return e = wr((function * (n) {
                                            var e, r = n.offerType,
                                                o = n.messageType,
                                                i = n.offerCountryCode,
                                                a = n.creditProductIdentifier,
                                                u = t.message,
                                                l = t.clientID,
                                                s = t.currency,
                                                c = t.buttonSessionID,
                                                d = t.merchantID,
                                                p = null == u ? void 0 : u.amount;
                                            mr().info("button_message_click").track((e = {},
                                                e.transition_name = "button_message_click", e.state_name = "BUTTON_MESSAGE", e.button_session_id = c, e.context_id = c, e.context_type = "button_session_id", e.event_name = "message_click", e.button_message_offer_type = r, e.button_message_credit_product_identifier = a, e.button_message_type = o, e.button_message_position = null == u ? void 0 : u.position, e.button_message_align = null == u ? void 0 : u.align, e.button_message_color = null == u ? void 0 : u.color, e.button_message_offer_country = i, e.button_message_currency = s, e.button_message_amount = p, e)).flush();
                                            var f = yield _c(l, d, c);
                                            return null == f ? void 0 : f.show({
                                                amount: p,
                                                offer: r,
                                                currency: s
                                            })
                                        })),
                                            function(n) {
                                                return e.apply(this, arguments)
                                            }
                                    }
                                },
                                onMessageHover: {
                                    type: "function",
                                    required: !1,
                                    value: function(n) {
                                        var e = n.props;
                                        return function() {
                                            return _c(e.clientID, e.merchantID, e.buttonSessionID)
                                        }
                                    }
                                },
                                onMessageReady: {
                                    type: "function",
                                    required: !1,
                                    value: function(n) {
                                        var e = n.props;
                                        return function(n) {
                                            var t, r = n.offerType,
                                                o = n.messageType,
                                                i = n.offerCountryCode,
                                                a = n.creditProductIdentifier,
                                                u = n.merchantID,
                                                l = e.message,
                                                s = e.buttonSessionID,
                                                c = e.currency;
                                            u && mr().addTrackingBuilder((function() {
                                                var n;
                                                return (n = {}).seller_id = u,
                                                    n
                                            })),
                                                mr().info("button_message_render").track((t = {},
                                                    t.transition_name = "button_message_render", t.state_name = "BUTTON_MESSAGE", t.button_session_id = s, t.context_id = s, t.context_type = "button_session_id", t.event_name = "message_render", t.button_message_offer_type = r, t.button_message_credit_product_identifier = a, t.button_message_type = o, t.button_message_position = null == l ? void 0 : l.position, t.button_message_align = null == l ? void 0 : l.align, t.button_message_color = null == l ? void 0 : l.color, t.button_message_currency = c, t.button_message_offer_country = i, t.button_message_amount = null == l ? void 0 : l.amount, t)).flush()
                                        }
                                    }
                                },
                                onShippingAddressChange: {
                                    type: "function",
                                    required: !1
                                },
                                onShippingChange: {
                                    type: "function",
                                    required: !1,
                                    queryParam: !0,
                                    queryValue: function(n) {
                                        return n.value ? "true": "false"
                                    }
                                },
                                onShippingOptionsChange: {
                                    type: "function",
                                    required: !1
                                },
                                hasShippingCallback: {
                                    type: "boolean",
                                    required: !1,
                                    queryParam: !0,
                                    value: function(n) {
                                        var e = n.props;
                                        return Boolean(e.onShippingChange || e.onShippingAddressChange || e.onShippingOptionsChange)
                                    }
                                },
                                pageType: {
                                    type: "string",
                                    required: !1,
                                    queryParam: !0,
                                    value: function() {
                                        return Ft(ft.PAGE_TYPE)
                                    }
                                },
                                partnerAttributionID: {
                                    type: "string",
                                    required: !1,
                                    value: Jt
                                },
                                paymentMethodNonce: {
                                    type: "string",
                                    queryParam: !0,
                                    required: !1
                                },
                                paymentMethodToken: {
                                    type: "string",
                                    queryParam: !0,
                                    required: !1
                                },
                                paymentRequest: {
                                    type: "object",
                                    queryParam: !1,
                                    required: !1
                                },
                                platform: {
                                    type: "string",
                                    queryParam: !0,
                                    value: Nt
                                },
                                referrerDomain: {
                                    type: "string",
                                    required: !1,
                                    value: function() {
                                        if (window.document.referrer) return new URL(window.document.referrer).host || void 0
                                    }
                                },
                                remember: {
                                    type: "function",
                                    value: function() {
                                        return function(n) {
                                            return function(n, e) {
                                                void 0 === e && (e = {});
                                                var t = Vn(lt),
                                                    r = e.cookie,
                                                    o = void 0 === r || r,
                                                    i = e.expiry;
                                                if (!n || !n.length) throw new Error("Pass array of funding sources");
                                                for (var a = 0; a < n.length; a++) {
                                                    var u = n[a];
                                                    if ( - 1 === t.indexOf(u)) throw new Error("Invalid funding source: " + u)
                                                }
                                                o && !hr() &&
                                                function(n, e) {
                                                    var t;
                                                    void 0 === e && (e = {});
                                                    var r = e.expiry,
                                                        o = document.createElement("iframe");
                                                    o.style.display = "none",
                                                        o.setAttribute("sandbox", "allow-scripts"),
                                                        o.setAttribute("src", Te("https://www.sandbox.paypal.com/smart/funding/remember", {
                                                            query: (t = {},
                                                                t.domain = $(), t["client-id"] = It(), t.sdkMeta = Ar(), t["funding-sources"] = n.join(","), t.expiry = (r || "").toString(), t)
                                                        }));
                                                    var i = document.body;
                                                    if (!i) throw new Error("Can not find body");
                                                    i.appendChild(o)
                                                } (n, {
                                                    expiry: i
                                                }),
                                                    Nr((function(e) {
                                                        e.funding = e.fundingConfig || {};
                                                        for (var t = 0; t < n.length; t++) {
                                                            var r = n[t],
                                                                o = e.funding[r] = e.funding[r] || {};
                                                            o.remembered = !0,
                                                            i && (o.expiry = Date.now() + 1e3 * i)
                                                        }
                                                    }))
                                            } (n, {
                                                cookie: !1
                                            })
                                        }
                                    }
                                },
                                remembered: {
                                    type: "array",
                                    queryParam: !0,
                                    value: jl
                                },
                                renderedButtons: {
                                    type: "array",
                                    queryParam: !0,
                                    value: function(n) {
                                        return t = (e = n.props).fundingSource,
                                            r = e.onShippingChange,
                                            o = e.onShippingAddressChange,
                                            i = e.onShippingOptionsChange,
                                            a = e.hasShippingCallback,
                                            l = void 0 === (u = e.style) ? {}: u,
                                            c = void 0 === (s = e.enableFunding) ? jt() : s,
                                            p = void 0 === (d = e.fundingEligibility) ? $l() : d,
                                            h = void 0 === (f = e.experiment) ? Nc() : f,
                                            g = e.applePaySupport,
                                            y = void 0 === (m = e.supportsPopups) ? R() : m,
                                            w = void 0 === (v = e.supportedNativeBrowser) ? Rc() : v,
                                            b = e.displayOnly,
                                            E = Cc({
                                                createBillingAgreement: e.createBillingAgreement,
                                                createSubscription: e.createSubscription,
                                                createVaultSetupToken: e.createVaultSetupToken
                                            }),
                                            ac({
                                                fundingSource: t,
                                                remembered: [],
                                                layout: l.layout,
                                                platform: Nt(),
                                                fundingEligibility: p,
                                                enableFunding: c,
                                                components: ["buttons", "card-fields"],
                                                onShippingChange: r,
                                                onShippingAddressChange: o,
                                                onShippingOptionsChange: i,
                                                hasShippingCallback: a,
                                                flow: E,
                                                applePaySupport: g,
                                                supportsPopups: y,
                                                supportedNativeBrowser: w,
                                                experiment: h,
                                                displayOnly: b
                                            });
                                        var e, t, r, o, i, a, u, l, s, c, d, p, f, h, g, m, y, v, w, b, E
                                    }
                                }, sessionID: {
                                    type: "string",
                                    value: xi,
                                    queryParam: !0
                                },
                                sdkCorrelationID: {
                                    type: "string",
                                    required: !1,
                                    value: At,
                                    queryParam: !0
                                },
                                sdkInitTimings: {
                                    type: "object",
                                    queryParam: !1,
                                    required: !1,
                                    value: function() {
                                        var n, e, t, r, o = null == (n = window) || null == (e = n.performance) ? void 0 : e.getEntriesByType("resource").find((function(n) {
                                            return /paypal\.com(?::\d+)?\/sdk\/js/.test(n.name)
                                        }));
                                        try {
                                            t = function() {
                                                if (void 0 === br) throw new TypeError("SDK not initialized");
                                                return br
                                            } ()
                                        } catch(n) {}
                                        return {
                                            sdkInitTimeStamp: t,
                                            sdkScriptDownloadDuration: null == o ? void 0 : o.duration,
                                            isSdkCached: (r = o, r && void 0 !== r.duration ? 0 === r.duration ? "yes": "no": "unknown")
                                        }
                                    }
                                },
                                sdkMeta: {
                                    type: "string",
                                    queryParam: !0,
                                    sendToChild: !1,
                                    value: Ar
                                },
                                sdkToken: {
                                    type: "string",
                                    required: !1,
                                    value: ar
                                },
                                sdkVersion: {
                                    type: "string",
                                    queryParam: !0,
                                    sendToChild: !1,
                                    value: Tt
                                },
                                sessionState: {
                                    type: "object",
                                    value: function() {
                                        return Si
                                    }
                                },
                                shopperSessionId: {
                                    type: "string",
                                    required: !1,
                                    value: sr
                                },
                                getShopperInsightsUsed: {
                                    type: "function",
                                    value: function() {
                                        return Sr
                                    },
                                    required: !1
                                },
                                stageHost: {
                                    type: "string",
                                    value: bt,
                                    required: !1
                                },
                                storageID: {
                                    type: "string",
                                    value: xr,
                                    queryParam: !0
                                },
                                storageState: {
                                    type: "object",
                                    value: function() {
                                        return Li
                                    }
                                },
                                style: {
                                    type: "object",
                                    queryParam: !0,
                                    required: !1,
                                    decorate: function(n) {
                                        return vc(n.props, n.value)
                                    },
                                    validate: function(n) {
                                        var e = n.value;
                                        vc(n.props, void 0 === e ? {}: e)
                                    },
                                    default:
                                        function() {
                                            return {}
                                        }
                                },
                                buttonColor: {
                                    type: "object",
                                    default:
                                        function() {
                                            return {
                                                shouldApplyRebrandedStyles:
                                                    !1,
                                                color: "gold"
                                            }
                                        },
                                    queryParam: !0,
                                    decorate: function(n) {
                                        var e = n.props;
                                        return function(n) {
                                            var e = n.style,
                                                t = n.sessionID,
                                                r = n.storageState,
                                                o = n.fundingSource;
                                            switch (function(n) {
                                                var e = n.fundingSource,
                                                    t = n.experiment || {},
                                                    r = t.isPaypalRebrandEnabled,
                                                    o = t.isPaypalRebrandABTestEnabled,
                                                    i = function(n) {
                                                        return ! [void 0, lt.PAYPAL, lt.VENMO, lt.PAYLATER, lt.CREDIT, lt.CARD].includes(n.fundingSource)
                                                    } ({
                                                        fundingSource: e
                                                    });
                                                return r ? o ? e === lt.PAYPAL ? "abTest": "legacy": i ? "legacy": "fullRebrand": "legacy"
                                            } ({
                                                experiment: n.experiment,
                                                fundingSource: o,
                                                style: e
                                            })) {
                                                case "abTest":
                                                    return function(n) {
                                                        var e = n.storageState,
                                                            t = n.sessionID,
                                                            r = n.style,
                                                            o = function(n) {
                                                                var e = n.get("colorABTest");
                                                                return e && e.value ? e.value: null
                                                            } (e);
                                                        if (o) {
                                                            var i = o.sessionID,
                                                                a = l(o, gc);
                                                            if (i && t === i) return a
                                                        }
                                                        var u = function(n) {
                                                            var e, t, r = n.buttonColorInput;
                                                            switch (Math.floor(3 * Math.random())) {
                                                                case 0:
                                                                    t = Bi.REBRAND_BLUE,
                                                                        e = !0;
                                                                    break;
                                                                case 1:
                                                                    t = Bi.REBRAND_DARKBLUE,
                                                                        e = !0;
                                                                    break;
                                                                default:
                                                                    t = r || Bi.GOLD,
                                                                        e = !1
                                                            }
                                                            return {
                                                                shouldApplyRebrandedStyles: e,
                                                                color: t,
                                                                isButtonColorABTestMerchant: !0
                                                            }
                                                        } ({
                                                            buttonColorInput: null == r ? void 0 : r.color
                                                        });
                                                        return e.set("colorABTest", P({},
                                                            u, {
                                                                sessionID: t
                                                            })),
                                                            u
                                                    } ({
                                                        storageState: r,
                                                        sessionID: t,
                                                        style: e
                                                    });
                                                case "fullRebrand":
                                                    return function(n) {
                                                        var e, t = n.style,
                                                            r = n.fundingSource,
                                                            o = ((e = {})[Bi.BLUE] = Bi.REBRAND_BLUE, e[Bi.DARKBLUE] = Bi.REBRAND_BLUE, e[Bi.GOLD] = Bi.REBRAND_BLUE, e[Bi.BLACK] = Bi.REBRAND_BLACK, e[Bi.WHITE] = Bi.REBRAND_WHITE, e[Bi.SILVER] = Bi.REBRAND_WHITE, e[Bi.DEFAULT] = Bi.REBRAND_BLUE, e[Bi.REBRAND_BLUE] = Bi.REBRAND_BLUE, e[Bi.REBRAND_DARKBLUE] = Bi.REBRAND_DARKBLUE, e[Bi.REBRAND_BLACK] = Bi.REBRAND_BLACK, e[Bi.REBRAND_WHITE] = Bi.REBRAND_WHITE, e),
                                                            i = o[null == t ? void 0 : t.color];
                                                        if (!i) {
                                                            var a = yc({
                                                                fundingSource: r,
                                                                style: t
                                                            });
                                                            i = o[a] || a
                                                        }
                                                        return {
                                                            color: i,
                                                            shouldApplyRebrandedStyles: !0,
                                                            isButtonColorABTestMerchant: !1
                                                        }
                                                    } ({
                                                        fundingSource: o,
                                                        style: e
                                                    });
                                                default:
                                                    return {
                                                        shouldApplyRebrandedStyles:
                                                            !1,
                                                        color: yc({
                                                            fundingSource: o,
                                                            style: e
                                                        }),
                                                        isButtonColorABTestMerchant: !1
                                                    }
                                            }
                                        } ({
                                            experiment: e.experiment,
                                            style: e.style,
                                            sessionID: e.sessionID,
                                            storageState: Li,
                                            fundingSource: e.fundingSource
                                        })
                                    }
                                },
                                supportedNativeBrowser: {
                                    type: "boolean",
                                    value: function(n) {
                                        var e = n.props;
                                        return e.fundingSource === lt.VENMO ? oc(e.experiment, e.userAgent) : Rc()
                                    },
                                    queryParam: !0
                                },
                                supportsPopups: {
                                    type: "boolean",
                                    value: function(n) {
                                        var e = n.props;
                                        return e.fundingSource === lt.VENMO ? rc(e.experiment, R(), e.userAgent) : R()
                                    },
                                    queryParam: !0
                                },
                                test: {
                                    type: "object",
                                    default:
                                        function() {
                                            return {
                                                action:
                                                    "checkout"
                                            }
                                        }
                                },
                                userExperienceFlow: {
                                    type: "string",
                                    required: !1,
                                    value: or
                                },
                                userIDToken: {
                                    type: "string",
                                    default:
                                    ir,
                                    required: !1,
                                    queryParam: "sandbox" !== mt.LOCAL && "sandbox" !== mt.STAGE,
                                    bodyParam: "sandbox" === mt.LOCAL || "sandbox" === mt.STAGE
                                },
                                sdkSource: {
                                    type: "string",
                                    value: function() {
                                        return tr()
                                    },
                                    required: !1,
                                    queryParam: !0
                                },
                                vault: {
                                    type: "boolean",
                                    queryParam: !0,
                                    value: Ht
                                },
                                wallet: {
                                    type: "object",
                                    required: !1,
                                    default:
                                        function() {
                                            return window.__TEST_WALLET__
                                        }
                                },
                                hideSubmitButtonForCardForm: {
                                    type: "boolean",
                                    required: !1,
                                    queryParam: !0
                                },
                                userAgent: {
                                    type: "string",
                                    required: !1,
                                    queryParam: !0,
                                    value: s
                                }
                            },
                            exports: {
                                submitCardForm: {
                                    type: "function"
                                }
                            }
                        })
                    }));
                    function ld() {
                        return Hn(ld, (function() {
                            return Ei({
                                tag: "paypal-card-form",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/smart/card-fields"
                                },
                                dimensions: {
                                    height: "300px",
                                    width: "100%"
                                },
                                attributes: {
                                    iframe: {
                                        allowpaymentrequest: "allowpaymentrequest",
                                        scrolling: "no"
                                    }
                                },
                                autoResize: {
                                    height: !0,
                                    width: !1
                                },
                                props: {
                                    sessionID: {
                                        type: "string",
                                        required: !1,
                                        default:
                                        xi,
                                        queryParam: !0
                                    },
                                    createOrder: {
                                        type: "function",
                                        queryParam: "token",
                                        alias: "payment",
                                        queryValue: function(n) {
                                            return H.
                                            try (n.value)
                                        }
                                    },
                                    onShippingAddressChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    onShippingOptionsChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    hasShippingCallback: {
                                        type: "boolean",
                                        required: !1,
                                        queryParam: !0,
                                        value: function(n) {
                                            var e = n.props;
                                            return Boolean(e.onShippingAddressChange || e.onShippingOptionsChange)
                                        }
                                    },
                                    buttonSessionID: {
                                        type: "string",
                                        queryParam: !0
                                    },
                                    clientMetadataID: {
                                        type: "string",
                                        required: !1,
                                        default:
                                        Or,
                                        queryParam: "client-metadata-id"
                                    },
                                    commit: {
                                        type: "boolean",
                                        queryParam: !0,
                                        value: qt
                                    },
                                    env: {
                                        type: "string",
                                        queryParam: !0,
                                        value: wt
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: "locale.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            var e = n.value,
                                                t = e.lang;
                                            return (t = t === dt.ZH_HANT ? dt.ZH: t) + "_" + e.country
                                        },
                                        value: Qt
                                    },
                                    country: {
                                        type: "object",
                                        queryParam: "country.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            return n.value.country
                                        },
                                        value: Qt
                                    },
                                    onApprove: {
                                        type: "function",
                                        alias: "onAuthorize"
                                    },
                                    onComplete: {
                                        type: "function",
                                        required: !1
                                    },
                                    onAuth: {
                                        type: "function",
                                        required: !1,
                                        sameDomain: !0
                                    },
                                    onCancel: {
                                        type: "function",
                                        required: !1
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Ar
                                    },
                                    style: {
                                        type: "object",
                                        required: !1,
                                        queryParam: !0
                                    },
                                    disableCard: {
                                        type: "array",
                                        queryParam: "disable-card",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            return n.value.join(",")
                                        },
                                        value: Kt
                                    }
                                },
                                exports: {
                                    submit: {
                                        type: "function"
                                    }
                                }
                            })
                        }))
                    }
                    function sd(n) {
                        return ra("html", null, ra("body", null, ra("style", {
                            nonce: n.nonce,
                            innerHTML: "\n                        html, body {\n                            padding: 0;\n                            margin: 0;\n                            width: 100%;\n                            height: 100%;\n                            background: rgba(240,240,240,0.5);\n                        }\n\n                        body {\n                            position: relative;\n                            overflow: hidden;\n                        }\n                    "
                        })))
                    }
                    function cd(n) {
                        var e = n.uid,
                            t = n.frame,
                            r = n.prerenderFrame,
                            o = n.event,
                            i = n.nonce;
                        if (!t || !r) throw new Error("Expected frame and prerenderframe");
                        return t.classList.add("component-frame"),
                            r.classList.add("prerender-frame"),
                            t.classList.add("invisible"),
                            r.classList.add("visible"),
                            o.on("zoid-rendered", (function() {
                                r.classList.remove("visible"),
                                    r.classList.add("invisible"),
                                    t.classList.remove("invisible"),
                                    t.classList.add("visible"),
                                    setTimeout((function() {
                                        Ze(r)
                                    }), 1e3)
                            })),
                            ra("div", {
                                    id: e,
                                    onRender: function(n) {
                                        o.on("zoid-resize", (function(e) {
                                            var t = e.width,
                                                r = e.height;
                                            "number" == typeof t && (n.style.width = at(t)),
                                            "number" == typeof r && (n.style.height = at(r))
                                        }))
                                    }
                                },
                                ra("style", {
                                        nonce: i
                                    },
                                    "\n                    #" + e + " {\n                        position: relative;\n                        display: inline-block;\n                        width: 100%;\n                        min-width: 250px;\n                        max-width: 100%;\n                        font-size: 0;\n                        height: 91px;\n                        min-height: 91px;\n                        transition: all 0.5s ease-in-out;\n                    }\n\n                    @media only screen and (min-width: 0px) {\n                        #" + e + " {\n                            min-height: 91px;\n                        }\n                    }\n\n                    @media only screen and (min-width: 600px) {\n                        #" + e + " {\n                            min-height: 91px;\n                        }\n                    }\n\n                    #" + e + " > iframe {\n                        position: absolute;\n                        top: 0;\n                        left: 0;\n                        width: 100%;\n                        height: 100%;\n                    }\n\n                    #" + e + " > iframe.component-frame {\n                        z-index: 100;\n                    }\n\n                    #" + e + " > iframe.prerender-frame {\n                        transition: opacity .2s linear;\n                        z-index: 200;\n                    }\n\n                    #" + e + " > iframe.visible {\n                        opacity: 1;\n                    }\n\n                    #" + e + " > iframe.invisible {\n                        opacity: 0;\n                        pointer-events: none;\n                    }\n                "), ra("node", {
                                    el: t
                                }), ra("node", {
                                    el: r
                                }))
                    }
                    function dd() {
                        return Hn(dd, (function() {
                            return Ei({
                                tag: "paypal-fields",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/altpayfields"
                                },
                                domain: fr(),
                                autoResize: {
                                    width: !1,
                                    height: !0,
                                    element: "body"
                                },
                                dimensions: {
                                    width: "100%",
                                    height: "300px"
                                },
                                logger: mr(),
                                containerTemplate: function(n) {
                                    var e = n.doc;
                                    return ra(cd, {
                                        uid: n.uid,
                                        frame: n.frame,
                                        prerenderFrame: n.prerenderFrame,
                                        event: n.event,
                                        nonce: n.props.nonce
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                prerenderTemplate: function(n) {
                                    var e = n.doc;
                                    return ra(sd, {
                                        nonce: n.props.nonce
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                attributes: {
                                    iframe: {
                                        scrolling: "no"
                                    }
                                },
                                props: {
                                    fields: {
                                        type: "object",
                                        queryParam: !0,
                                        required: !1,
                                        decorate: function(n) {
                                            return n.value
                                        },
                                        default:
                                            function() {
                                                return {}
                                            }
                                    },
                                    style: {
                                        type: "object",
                                        queryParam: !0,
                                        required: !1,
                                        decorate: function(n) {
                                            return n.value
                                        },
                                        default:
                                            function() {
                                                return {}
                                            }
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    clientID: {
                                        type: "string",
                                        queryParam: !0,
                                        value: It
                                    },
                                    fundingSource: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !0
                                    },
                                    correlationID: {
                                        type: "string",
                                        required: !1,
                                        value: At
                                    },
                                    sessionID: {
                                        type: "string",
                                        value: Rr,
                                        queryParam: !0,
                                        required: !1
                                    },
                                    fieldsSessionID: {
                                        type: "string",
                                        value: Bn,
                                        queryParam: !0
                                    },
                                    env: {
                                        type: "string",
                                        queryParam: !0,
                                        value: wt
                                    },
                                    onInit: {
                                        type: "function",
                                        required: !1
                                    },
                                    onError: {
                                        type: "function",
                                        required: !1
                                    },
                                    onContinue: {
                                        type: "function",
                                        required: !1
                                    },
                                    onClose: {
                                        type: "function",
                                        required: !1
                                    },
                                    showActionButtons: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    onFieldsClose: {
                                        type: "function",
                                        required: !1
                                    },
                                    buyerCountry: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        default:
                                        Zt
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: "locale.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            var e = n.value;
                                            return e.lang + "_" + e.country
                                        },
                                        value: Qt
                                    },
                                    country: {
                                        type: "object",
                                        queryParam: "country.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            return n.value.country
                                        },
                                        value: Qt
                                    },
                                    storageState: {
                                        type: "object",
                                        value: function() {
                                            return Li
                                        }
                                    },
                                    sessionState: {
                                        type: "object",
                                        value: function() {
                                            return Si
                                        }
                                    },
                                    partnerAttributionID: {
                                        type: "string",
                                        required: !1,
                                        value: Jt
                                    }
                                }
                            })
                        }))
                    }
                    function pd() {
                        return Hn(pd, (function() {
                            return Ei({
                                tag: "paypal-menu",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/smart/menu"
                                },
                                domain: fr(),
                                autoResize: {
                                    width: !1,
                                    height: !0
                                },
                                dimensions: {
                                    width: "100%",
                                    height: "150px"
                                },
                                logger: mr(),
                                prerenderTemplate: function() {
                                    return null
                                },
                                attributes: {
                                    iframe: {
                                        scrolling: "no"
                                    }
                                },
                                props: {
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    clientID: {
                                        type: "string",
                                        queryParam: !0
                                    }
                                }
                            })
                        }))
                    }
                    function fd() {
                        return Hn(fd, (function() {
                            return Ei({
                                tag: "paypal-installments",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/smart/installments"
                                },
                                domain: fr(),
                                autoResize: {
                                    width: !1,
                                    height: !0
                                },
                                dimensions: {
                                    width: "100%",
                                    height: "100%"
                                },
                                logger: mr(),
                                prerenderTemplate: function(n) {
                                    var e = n.doc,
                                        t = n.props.nonce || nr();
                                    return ra(Ul, {
                                        nonce: t
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                containerTemplate: function(n) {
                                    var e = n.doc;
                                    return ra(Pl, {
                                        context: n.context,
                                        close: n.close,
                                        focus: n.focus,
                                        event: n.event,
                                        frame: n.frame,
                                        prerenderFrame: n.prerenderFrame,
                                        autoResize: !0,
                                        hideCloseButton: !0,
                                        nonce: n.props.nonce
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                props: {
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    clientID: {
                                        type: "string",
                                        queryParam: !0
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: !0,
                                        value: Qt
                                    },
                                    nonce: {
                                        type: "string",
                                        default:
                                        nr,
                                        required: !1
                                    }
                                }
                            })
                        }))
                    }
                    function hd(n) {
                        var e = n.uid,
                            t = n.frame,
                            r = n.prerenderFrame,
                            o = n.event,
                            i = n.cspNonce;
                        if (!t || !r) throw new Error("Expected frame and prerenderframe");
                        return t.classList.add("component-frame"),
                            r.classList.add("prerender-frame"),
                            t.classList.add("invisible"),
                            r.classList.add("visible"),
                            o.on("zoid-rendered", (function() {
                                r.classList.remove("visible"),
                                    r.classList.add("invisible"),
                                    t.classList.remove("invisible"),
                                    t.classList.add("visible"),
                                    setTimeout((function() {
                                        Ze(r)
                                    }), 1)
                            })),
                            ra("div", {
                                    id: e
                                },
                                ra("style", {
                                    nonce: i,
                                    innerHTML: "\n            * {\n                box-sizing: border-box;\n            }\n\n            #" + e + " {\n                display: flex;\n                position: fixed;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n                z-index: 20000;\n                align-items: center;\n                justify-content: center;\n                background-color: rgba(0, 0, 0, 0.4); \n            }\n            #" + e + " iframe {\n                display: flex;\n                align-items: center;\n                justify-content: center;\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n                transition: opacity .2s ease-in-out;\n            }\n            #" + e + " > iframe.visible {\n                opacity: 1;\n            }\n            #" + e + " > iframe.invisible {\n                opacity: 0;\n                pointer-events: none;\n            }\n            #qrModal {\n                background: #2F3033;\n                box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);\n                border-radius: 16px;                        \n                width: 720px;\n                height: 612px;  \n                display: flex;\n                align-items: center;\n                justify-content: center;\n                flex-direction: column;\n                position: relative;\n            }     \n            "
                                }), ra("div", {
                                        id: "qrModal"
                                    },
                                    ra("node", {
                                        el: t
                                    }), ra("node", {
                                        el: r
                                    })))
                    }
                    function gd(n) {
                        var e = n.frame,
                            t = n.prerenderFrame,
                            r = n.doc;
                        if (e && t) return ra(hd, {
                            uid: n.uid,
                            cspNonce: n.props.cspNonce,
                            event: n.event,
                            frame: e,
                            prerenderFrame: t
                        }).render(da({
                            doc: r
                        }))
                    }
                    function md(n) {
                        var e = n.doc,
                            t = n.props,
                            r = n.close,
                            o = [ra("style", {
                                nonce: t.cspNonce,
                                innerHTML: "\n    #close {\n        position: absolute;\n        right: 16px;\n        top: 16px;\n        width: 16px;\n        height: 16px;\n        opacity: 0.6;\n        z-index: 100;\n    }\n    #close:hover {\n        opacity: 1;\n    }\n    #close:before, #close:after {\n        position: absolute;\n        left: 8px;\n        content: ' ';\n        height: 20px;\n        width: 2px;\n        background-color: #FFF;\n    }\n    #close:before {\n        transform: rotate(45deg);\n    }\n    #close:after {\n        transform: rotate(-45deg);\n    }  \n    "
                            }), ra("a", {
                                href: "#",
                                id: "close",
                                "aria-label": "close",
                                role: "button",
                                onClick: r
                            })];
                        return new Ul({
                                nonce: t.cspNonce
                            },
                            o).render(da({
                            doc: e
                        }))
                    }
                    function yd() {
                        return Hn(yd, (function() {
                            return Ei({
                                tag: "paypal-qr-modal",
                                url: function(n) {
                                    return "https://www.sandbox.paypal.com/smart/qrcode?" + n.props.qrPath
                                },
                                domain: fr(),
                                dimensions: {
                                    width: "100%",
                                    height: "100%"
                                },
                                logger: mr(),
                                prerenderTemplate: md,
                                containerTemplate: gd,
                                autoResize: {
                                    width: !0,
                                    height: !0
                                },
                                attributes: {
                                    iframe: {
                                        scrolling: "no"
                                    }
                                },
                                props: {
                                    qrPath: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !0
                                    },
                                    cspNonce: {
                                        type: "string",
                                        queryParam: !1,
                                        required: !1,
                                        value: nr
                                    },
                                    debug: {
                                        type: "boolean",
                                        value: Ot,
                                        queryParam: !0,
                                        required: !1
                                    },
                                    state: {
                                        type: "string",
                                        queryParam: !1,
                                        required: !1
                                    },
                                    errorText: {
                                        type: "string",
                                        queryParam: !1,
                                        required: !1
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    env: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: wt
                                    },
                                    sessionID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: Rr
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: !0,
                                        required: !1,
                                        value: Qt
                                    },
                                    clientID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: It
                                    },
                                    orderID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    sdkCorrelationID: {
                                        type: "string",
                                        required: !1,
                                        value: At,
                                        queryParam: !0
                                    },
                                    buyerCountry: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: Zt
                                    },
                                    buttonSessionID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: Bn
                                    }
                                }
                            })
                        }))
                    }
                    function vd() {
                        return Hn(vd, (function() {
                            var n = Ei({
                                tag: "venmo-checkout",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/smart/checkout/venmo/popup"
                                },
                                attributes: {
                                    iframe: {
                                        scrolling: "yes"
                                    }
                                },
                                defaultContext: R() ? Jo.POPUP: Jo.IFRAME,
                                domain: [fr(), /http.*(\.|\/)venmo\.com(:\d*)?$/],
                                prerenderTemplate: function(n) {
                                    var e = n.doc;
                                    return ra(Ul, {
                                        nonce: n.props.nonce
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                containerTemplate: function(n) {
                                    var e = n.context,
                                        t = n.close,
                                        r = n.focus,
                                        o = n.doc,
                                        i = n.event,
                                        a = n.frame,
                                        u = n.prerenderFrame,
                                        l = n.props.nonce,
                                        s = Ml("venmo").en;
                                    return ra(Bl, {
                                        context: e,
                                        close: t,
                                        focus: r,
                                        event: i,
                                        frame: a,
                                        prerenderFrame: u,
                                        content: s,
                                        nonce: l
                                    }).render(da({
                                        doc: o
                                    }))
                                },
                                props: {
                                    clientID: {
                                        type: "string",
                                        value: function() {
                                            return It()
                                        },
                                        queryParam: !0
                                    },
                                    sessionID: {
                                        type: "string",
                                        value: xi,
                                        queryParam: !0
                                    },
                                    buttonSessionID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    stickinessID: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    env: {
                                        type: "string",
                                        queryParam: !0,
                                        value: wt
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Ar
                                    },
                                    nonce: {
                                        type: "string",
                                        required: !1,
                                        value: nr,
                                        allowDelegate: !0
                                    },
                                    createAuthCode: {
                                        type: "function",
                                        queryParam: "code",
                                        required: !1,
                                        queryValue: function(n) {
                                            return H.
                                            try (n.value)
                                        },
                                        decorate: function(n) {
                                            return Mn(n.value)
                                        }
                                    },
                                    buyerCountry: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        default:
                                        Zt
                                    },
                                    locale: {
                                        type: "object",
                                        queryParam: "locale.x",
                                        allowDelegate: !0,
                                        queryValue: function(n) {
                                            var e = n.value;
                                            return e.lang + "_" + e.country
                                        },
                                        value: Qt
                                    },
                                    channel: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1,
                                        value: function() {
                                            return d() ? "mobile-web": "desktop-web"
                                        }
                                    },
                                    parentDomain: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !0
                                    },
                                    createOrder: {
                                        type: "function",
                                        queryParam: "token",
                                        alias: "payment",
                                        queryValue: function(n) {
                                            return H.
                                            try (n.value)
                                        },
                                        decorate: function(n) {
                                            return Mn(n.value)
                                        }
                                    },
                                    xcomponent: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function() {
                                            return "1"
                                        }
                                    },
                                    version: {
                                        type: "string",
                                        queryParam: !0,
                                        value: Tt
                                    },
                                    commit: {
                                        type: "boolean",
                                        queryParam: !0,
                                        value: qt
                                    },
                                    fundingSource: {
                                        type: "string",
                                        queryParam: !0,
                                        default:
                                            function() {
                                                return lt.VENMO
                                            }
                                    },
                                    standaloneFundingSource: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    branded: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    enableFunding: {
                                        type: "array",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    onApprove: {
                                        type: "function",
                                        alias: "onAuthorize"
                                    },
                                    onComplete: {
                                        type: "function",
                                        required: !1
                                    },
                                    onShippingChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    onShippingAddressChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    onShippingOptionsChange: {
                                        type: "function",
                                        required: !1
                                    },
                                    clientMetadataID: {
                                        type: "string",
                                        required: !1,
                                        default:
                                        Or,
                                        queryParam: "client-metadata-id"
                                    },
                                    onAuth: {
                                        type: "function",
                                        required: !1,
                                        trustedDomains: [fr(), /http.*(\.|\/)venmo\.com(:\d*)?$/]
                                    },
                                    onSmartWalletEligible: {
                                        type: "function",
                                        required: !1,
                                        trustedDomains: [fr(), /http.*(\.|\/)venmo\.com(:\d*)?$/]
                                    },
                                    accessToken: {
                                        type: "string",
                                        required: !1
                                    },
                                    onCancel: {
                                        type: "function",
                                        required: !1
                                    },
                                    onFocused: {
                                        type: "function",
                                        value: function(n) {
                                            var e = n.event;
                                            return function(n) {
                                                return e.on("zoid-focus", n)
                                            }
                                        }
                                    },
                                    incognito: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    isWebViewEnabled: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    isThirdPartyContext: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    venmoWebUrl: {
                                        type: "string",
                                        queryParam: !0,
                                        required: !0
                                    },
                                    venmoWebEnabled: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    venmoEnableWebOnNonNativeBrowser: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    },
                                    venmoVaultEnabled: {
                                        type: "boolean",
                                        queryParam: !0,
                                        required: !1
                                    }
                                },
                                dimensions: function(n) {
                                    var e = n.props;
                                    return "object" == typeof e.dimensions ? {
                                        width: e.dimensions.width + "px",
                                        height: e.dimensions.height + "px"
                                    }: d() ? {
                                        width: "100%",
                                        height: "590px"
                                    }: {
                                        width: "534px",
                                        height: "590px"
                                    }
                                }
                            });
                            return n.isChild() && (window.xchild = {
                                props: n.xprops,
                                show: Wn,
                                hide: Wn
                            }),
                                n
                        }))
                    }
                    function wd() {
                        return Hn(wd, (function() {
                            return Ei({
                                tag: "paypal-modal",
                                url: function() {
                                    return "https://www.sandbox.paypal.com/smart/modal"
                                },
                                domain: fr(),
                                dimensions: {
                                    width: "100%",
                                    height: "100%"
                                },
                                logger: mr(),
                                containerTemplate: function(n) {
                                    var e = n.frame,
                                        t = n.prerenderFrame,
                                        r = n.doc,
                                        o = n.uid,
                                        i = n.event;
                                    if (e && t) {
                                        var a = n.props.cspNonce;
                                        return t.classList.add("visible"),
                                            e.classList.add("invisible"),
                                            i.on("zoid-rendered", (function() {
                                                t.classList.remove("visible"),
                                                    t.classList.add("invisible"),
                                                    e.classList.remove("invisible"),
                                                    e.classList.add("visible"),
                                                    setTimeout((function() {
                                                        Ze(t)
                                                    }), 1)
                                            })),
                                            ra("div", {
                                                    id: o,
                                                    onRender: function(n) {
                                                        i.on("zoid-resize", (function(e) {
                                                            var t = e.width,
                                                                r = e.height;
                                                            "number" == typeof t && (n.style.width = at(t)),
                                                            "number" == typeof r && (n.style.height = at(r))
                                                        }))
                                                    }
                                                },
                                                ra("style", {
                                                    nonce: a,
                                                    innerHTML: "\n                                #" + o + " {\n                                    display: block;\n                                    position: fixed;\n                                    width: 100%;\n                                    height: 100%;\n                                    top: 0;\n                                    left: 0;\n                                    z-index: 200000;\n                                }\n\n                                #" + o + " > iframe {\n                                    display: inline-block;\n                                    position: absolute;\n                                    width: 100%;\n                                    height: 100%;\n                                    top: 0;\n                                    left: 0;\n                                    transition: opacity .2s ease-in-out;\n                                }\n                                #" + o + " > iframe.invisible {\n                                    opacity: 0;\n                                }\n                                #" + o + " > iframe.visible {\n                                    opacity: 1;\n                                }\n                            "
                                                }), ra("node", {
                                                    el: e
                                                }), ra("node", {
                                                    el: t
                                                })).render(da({
                                                doc: r
                                            }))
                                    }
                                },
                                prerenderTemplate: function() {
                                    return null
                                },
                                attributes: {
                                    iframe: {
                                        scrolling: "no"
                                    }
                                },
                                props: {
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    clientID: {
                                        type: "string",
                                        queryParam: !0
                                    },
                                    orderID: {
                                        type: "string",
                                        queryParam: !0
                                    },
                                    customerID: {
                                        type: "string",
                                        queryParam: !0
                                    }
                                }
                            })
                        }))
                    }
                    var bd = {
                            __get__: function() {
                                return ud()
                            }
                        },
                        Ed = {
                            __get__: function() {
                                return Fc()
                            }
                        },
                        Td = {
                            __get__: function() {
                                return Ni(ql())
                            }
                        },
                        Ad = {
                            __get__: function() {
                                return Ni(ld())
                            }
                        },
                        Od = {
                            __get__: function() {
                                return Ni(dd())
                            }
                        },
                        Cd = {
                            __get__: function() {
                                return Ni(pd())
                            }
                        },
                        Rd = {
                            __get__: function() {
                                return Ni(wd())
                            }
                        },
                        Nd = {
                            __get__: function() {
                                return Ni(fd())
                            }
                        },
                        xd = {
                            __get__: function() {
                                return Ni(yd())
                            }
                        },
                        Ld = {
                            __get__: function() {
                                return Ni(vd())
                            }
                        },
                        Sd = {
                            __get__: function() {
                                return Ni(id)
                            }
                        },
                        _d = {
                            __get__: function() {
                                return Ni(Pe)
                            }
                        },
                        Pd = {
                            __get__: function() {
                                return Ni(Ri)
                            }
                        },
                        Bd = {
                            __get__: function() {
                                return Ni(Ri)
                            }
                        },
                        Fd = {
                            __get__: function() {
                                return Ni(Ti)
                            }
                        };
                    function kd() {
                        ud(),
                            ql(),
                            Fc()
                    }
                    function Dd(n) {
                        Oi(n)
                    }
                    function Id(n) {
                        var e = n.height;
                        return n.isDisabled ? null: ra("html", null, ra("body", null, ra("style", {
                            nonce: n.nonce,
                            innerHTML: "\n                        html, body {\n                            padding: 0;\n                            margin: 0;\n                            width: 100%;\n                            height: 100%;\n                        }\n\n                        body {\n                            background: #e9ebee;\n                            position: relative;\n                            overflow: hidden;\n                            height: " + (null != e ? e: 78) + ';\n                        }\n\n                        body::after {\n                            content: "";\n                            display: block;\n                            background-color: #fff;\n                            position: absolute;\n                            top: 0;\n                            bottom: 0;\n                            width: 100%;\n                            height: ' + (null != e ? e: 78) + ";\n                            transform: translateX(0);\n                            box-shadow: 0px 0px 107px 60px #dddfe2;\n                            animation: 1.5s loading-placeholder ease-in-out infinite;\n                        }\n\n                        @keyframes loading-placeholder {\n                            0% {\n                                opacity: 0.1;\n                            }\n                            50% {\n                                opacity: 1;\n                            }\n                            100% {\n                                opacity: 0.1;\n                            }\n                        }\n                    "
                        })))
                    }
                    var Ud = function() {
                            return "https://www.sandbox.paypal.com/smart/card-field"
                        },
                        Md = function(n) {
                            var e, t, r, o, i, a, u = n.props,
                                l = n.doc,
                                s = null != (e = null != (t = null == (r = u.style) ? void 0 : r.height) ? t: null == (o = u.style) || null == (i = o.input) ? void 0 : i.height) ? e: null;
                            return ra(Id, {
                                nonce: u.nonce,
                                height: s,
                                isDisabled: Boolean(null == (a = u.styleOptions) ? void 0 : a.disablePrerender)
                            }).render(da({
                                doc: l
                            }))
                        },
                        qd = {
                            __get__: Mn((function() {
                                var n = function(n) {
                                        return Ei({
                                            tag: "paypal-card-" + n + "-field",
                                            url: Ud,
                                            dimensions: {
                                                height: "30px",
                                                width: "100%"
                                            },
                                            attributes: {
                                                iframe: {
                                                    scrolling: "no"
                                                }
                                            },
                                            autoResize: {
                                                height: !0,
                                                width: !1
                                            },
                                            prerenderTemplate: Md,
                                            exports: {
                                                setAttribute: {
                                                    type: "function"
                                                },
                                                removeAttribute: {
                                                    type: "function"
                                                },
                                                addClass: {
                                                    type: "function"
                                                },
                                                removeClass: {
                                                    type: "function"
                                                },
                                                clear: {
                                                    type: "function"
                                                },
                                                focus: {
                                                    type: "function"
                                                },
                                                setMessage: {
                                                    type: "function"
                                                }
                                            },
                                            props: {
                                                type: {
                                                    type: "string",
                                                    value: function() {
                                                        return n
                                                    },
                                                    queryParam: !0
                                                },
                                                clientID: {
                                                    type: "string",
                                                    value: function(n) {
                                                        return n.props.parent.props.clientID
                                                    },
                                                    queryParam: !0
                                                },
                                                sessionID: {
                                                    type: "string",
                                                    value: function(n) {
                                                        return n.props.parent.props.sessionID
                                                    },
                                                    queryParam: !0
                                                },
                                                clientMetadataID: {
                                                    type: "string",
                                                    required: !1,
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.clientMetadataID
                                                    }
                                                },
                                                createOrder: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.createOrder
                                                    }
                                                },
                                                createSubscription: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        var e = n.props;
                                                        if (e.parent.props.createSubscription && !e.parent.props.sdkToken) throw new Ci("SDK Token must be passed in for createSubscription");
                                                        return e.parent.props.createSubscription
                                                    }
                                                },
                                                createVaultSetupToken: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.createVaultSetupToken
                                                    }
                                                },
                                                cardFieldsSessionID: {
                                                    type: "string",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.cardFieldsSessionID
                                                    }
                                                },
                                                env: {
                                                    type: "string",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.env
                                                    }
                                                },
                                                debug: {
                                                    type: "boolean",
                                                    value: function(n) {
                                                        return n.props.parent.props.debug
                                                    },
                                                    queryParam: !0
                                                },
                                                locale: {
                                                    type: "object",
                                                    queryParam: !0,
                                                    allowDelegate: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.locale
                                                    }
                                                },
                                                amount: {
                                                    type: "object",
                                                    value: function(n) {
                                                        return n.props.parent.props.amount
                                                    },
                                                    required: !1
                                                },
                                                onApprove: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.onApprove
                                                    }
                                                },
                                                onError: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.onError
                                                    }
                                                },
                                                onComplete: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.onComplete
                                                    }
                                                },
                                                onCancel: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.onCancel
                                                    }
                                                },
                                                sdkMeta: {
                                                    type: "string",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.sdkMeta
                                                    }
                                                },
                                                style: {
                                                    type: "object",
                                                    required: !1,
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        var e = n.props;
                                                        return P({},
                                                            e.parent.props.style, e.style)
                                                    }
                                                },
                                                styleOptions: {
                                                    type: "object",
                                                    required: !1,
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        var e = n.props;
                                                        return P({},
                                                            e.parent.props.styleOptions, e.styleOptions)
                                                    }
                                                },
                                                onChange: {
                                                    type: "function",
                                                    required: !1,
                                                    value: function(n) {
                                                        var e = n.props;
                                                        return e.onChange ? e.onChange: e.parent.props.onChange
                                                    }
                                                },
                                                inputEvents: {
                                                    type: "object",
                                                    required: !1,
                                                    value: function(n) {
                                                        var e = n.props;
                                                        return e.inputEvents ? e.inputEvents: e.parent.props.inputEvents
                                                    }
                                                },
                                                minLength: {
                                                    type: "number",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.minLength
                                                    }
                                                },
                                                maxLength: {
                                                    type: "number",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.maxLength
                                                    }
                                                },
                                                fundingEligibility: {
                                                    type: "object",
                                                    value: function(n) {
                                                        return n.props.parent.props.fundingEligibility
                                                    }
                                                },
                                                disableCard: {
                                                    type: "array",
                                                    queryParam: "disable-card",
                                                    allowDelegate: !0,
                                                    queryValue: function(n) {
                                                        return n.value.join(",")
                                                    },
                                                    value: function(n) {
                                                        return n.props.parent.props.disableCard
                                                    }
                                                },
                                                currency: {
                                                    type: "string",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.currency
                                                    }
                                                },
                                                intent: {
                                                    type: "string",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.intent
                                                    }
                                                },
                                                commit: {
                                                    type: "boolean",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.commit
                                                    }
                                                },
                                                vault: {
                                                    type: "boolean",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.vault
                                                    }
                                                },
                                                branded: {
                                                    type: "boolean",
                                                    queryParam: !0,
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.branded
                                                    }
                                                },
                                                sdkCorrelationID: {
                                                    type: "string",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.sdkCorrelationID
                                                    },
                                                    queryParam: !0
                                                },
                                                hcfSessionID: {
                                                    type: "string",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.hcfSessionID
                                                    }
                                                },
                                                partnerAttributionID: {
                                                    type: "string",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.partnerAttributionID
                                                    }
                                                },
                                                merchantID: {
                                                    type: "array",
                                                    queryParam: !0,
                                                    value: function(n) {
                                                        return n.props.parent.props.merchantID
                                                    }
                                                },
                                                userIDToken: {
                                                    type: "string",
                                                    default:
                                                    ir,
                                                    required: !1
                                                },
                                                sdkToken: {
                                                    type: "string",
                                                    default:
                                                    ar,
                                                    required: !1
                                                },
                                                installments: {
                                                    type: "object",
                                                    required: !1,
                                                    value: function(n) {
                                                        return n.props.parent.props.installments
                                                    }
                                                }
                                            }
                                        })
                                    },
                                    e = n("number"),
                                    t = n("cvv"),
                                    r = n("expiry"),
                                    o = n("name");
                                return n("postal"),
                                    Ei({
                                        tag: "paypal-card-fields",
                                        url: Ud,
                                        dimensions: {
                                            height: "30px",
                                            width: "100%"
                                        },
                                        attributes: {
                                            iframe: {
                                                scrolling: "no"
                                            }
                                        },
                                        autoResize: {
                                            height: !0,
                                            width: !1
                                        },
                                        prerenderTemplate: Md,
                                        children: function() {
                                            return {
                                                NumberField: e,
                                                CVVField: t,
                                                ExpiryField: r,
                                                NameField: o
                                            }
                                        },
                                        exports: {
                                            submit: {
                                                type: "function"
                                            },
                                            setAttribute: {
                                                type: "function"
                                            },
                                            removeAttribute: {
                                                type: "function"
                                            },
                                            addClass: {
                                                type: "function"
                                            },
                                            removeClass: {
                                                type: "function"
                                            },
                                            clear: {
                                                type: "function"
                                            },
                                            focus: {
                                                type: "function"
                                            },
                                            getState: {
                                                type: "function"
                                            }
                                        },
                                        eligible: function() {
                                            var n, e = $l();
                                            return null != e && null != (n = e.card) && n.eligible && !e.card.branded ? {
                                                eligible: !0
                                            }: {
                                                eligible: !1,
                                                reason: "card payments are not eligible"
                                            }
                                        },
                                        props: {
                                            type: {
                                                type: "string",
                                                value: function() {
                                                    return "single"
                                                },
                                                queryParam: !0
                                            },
                                            clientID: {
                                                type: "string",
                                                value: It,
                                                queryParam: !0
                                            },
                                            sessionID: {
                                                type: "string",
                                                required: !1,
                                                value: xi,
                                                queryParam: !0
                                            },
                                            clientMetadataID: {
                                                type: "string",
                                                required: !1,
                                                default:
                                                    function(n) {
                                                        var e = n.props;
                                                        return Or() || e.sessionID
                                                    },
                                                queryParam: !0
                                            },
                                            createOrder: {
                                                type: "function",
                                                required: !1
                                            },
                                            createSubscription: {
                                                type: "function",
                                                required: !1,
                                                value: function(n) {
                                                    var e = n.props;
                                                    if (e.createSubscription && !e.sdkToken) throw new Ci("SDK Token must be passed in for createSubscription");
                                                    return e.createSubscription
                                                }
                                            },
                                            createVaultSetupToken: {
                                                type: "function",
                                                required: !1
                                            },
                                            cardFieldsSessionID: {
                                                type: "string",
                                                queryParam: !0,
                                                value: Bn
                                            },
                                            env: {
                                                type: "string",
                                                queryParam: !0,
                                                value: wt
                                            },
                                            debug: {
                                                type: "boolean",
                                                value: Ot,
                                                queryParam: !0
                                            },
                                            locale: {
                                                type: "object",
                                                queryParam: !0,
                                                allowDelegate: !0,
                                                value: Qt
                                            },
                                            amount: {
                                                type: "object",
                                                required: !1
                                            },
                                            onApprove: {
                                                type: "function",
                                                required: !1
                                            },
                                            onError: {
                                                type: "function",
                                                required: !1
                                            },
                                            onComplete: {
                                                type: "function",
                                                required: !1
                                            },
                                            onCancel: {
                                                type: "function",
                                                required: !1
                                            },
                                            sdkMeta: {
                                                type: "string",
                                                queryParam: !0,
                                                value: Ar
                                            },
                                            style: {
                                                type: "object",
                                                required: !1,
                                                queryParam: !0
                                            },
                                            onChange: {
                                                type: "function",
                                                required: !1
                                            },
                                            inputEvents: {
                                                type: "object",
                                                required: !1
                                            },
                                            minLength: {
                                                type: "number",
                                                required: !1,
                                                value: function(n) {
                                                    return n.props.minLength
                                                }
                                            },
                                            maxLength: {
                                                type: "number",
                                                required: !1,
                                                value: function(n) {
                                                    return n.props.maxLength
                                                }
                                            },
                                            fundingEligibility: {
                                                type: "object",
                                                value: $l
                                            },
                                            disableCard: {
                                                type: "array",
                                                queryParam: "disable-card",
                                                allowDelegate: !0,
                                                queryValue: function(n) {
                                                    return n.value.join(",")
                                                },
                                                value: Kt
                                            },
                                            currency: {
                                                type: "string",
                                                queryParam: !0,
                                                value: Wt
                                            },
                                            intent: {
                                                type: "string",
                                                queryParam: !0,
                                                value: Mt
                                            },
                                            commit: {
                                                type: "boolean",
                                                queryParam: !0,
                                                value: qt
                                            },
                                            vault: {
                                                type: "boolean",
                                                queryParam: !0,
                                                value: Ht
                                            },
                                            branded: {
                                                type: "boolean",
                                                queryParam: !0,
                                                required: !1
                                            },
                                            sdkCorrelationID: {
                                                type: "string",
                                                required: !1,
                                                value: At,
                                                queryParam: !0
                                            },
                                            hcfSessionID: {
                                                type: "string",
                                                required: !1,
                                                value: Bn
                                            },
                                            partnerAttributionID: {
                                                type: "string",
                                                required: !1,
                                                value: Jt
                                            },
                                            merchantID: {
                                                type: "array",
                                                queryParam: !0,
                                                value: Ut
                                            },
                                            userIDToken: {
                                                type: "string",
                                                default:
                                                ir,
                                                required: !1
                                            },
                                            sdkToken: {
                                                type: "string",
                                                default:
                                                ar,
                                                required: !1
                                            },
                                            installments: {
                                                type: "object",
                                                required: !1
                                            }
                                        }
                                    })
                            }))
                        };
                    function Hd(n) {
                        Oi(n)
                    }
                    function Wd() {
                        return Hn(Wd, (function() {
                            var n = Ei({
                                tag: "captcha",
                                url: kl,
                                attributes: {
                                    iframe: {
                                        scrolling: "no"
                                    }
                                },
                                containerTemplate: function(n) {
                                    var e = n.doc,
                                        t = n.props;
                                    return ra(Pl, {
                                        context: n.context,
                                        close: n.close,
                                        focus: n.focus,
                                        event: n.event,
                                        frame: n.frame,
                                        prerenderFrame: n.prerenderFrame,
                                        content: t.content,
                                        nonce: t.nonce,
                                        isUnbrandedFlow: !0
                                    }).render(da({
                                        doc: e
                                    }))
                                },
                                props: {
                                    action: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function(n) {
                                            return n.props.action ? n.props.action: "verify"
                                        }
                                    },
                                    xcomponent: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function() {
                                            return "1"
                                        }
                                    },
                                    flow: {
                                        type: "string",
                                        queryParam: !0,
                                        value: function() {
                                            return "rca"
                                        }
                                    },
                                    createOrder: {
                                        type: "function",
                                        queryParam: "token",
                                        queryValue: function(n) {
                                            return H.
                                            try (n.value)
                                        },
                                        required: !1
                                    },
                                    token: {
                                        type: "string",
                                        queryParam: "token",
                                        queryValue: function(n) {
                                            return n.value
                                        },
                                        required: !1
                                    },
                                    clientID: {
                                        type: "string",
                                        value: It,
                                        queryParam: !0
                                    },
                                    onError: {
                                        type: "function",
                                        required: !1
                                    },
                                    onSuccess: {
                                        type: "function",
                                        alias: "onContingencyResult",
                                        decorate: function(n) {
                                            var e = n.props,
                                                t = n.value,
                                                r = n.onError;
                                            return function(n, o) {
                                                return ("UNBRANDED_GUEST" === (null == e ? void 0 : e.userType) ? Boolean(n) : Boolean(n) || !1 === (null == o ? void 0 : o.success)) ? r ? r(n || new Error("CAPTCHA verification failed")) : void 0 : t(o)
                                            }
                                        }
                                    },
                                    onCancel: {
                                        type: "function",
                                        required: !1
                                    },
                                    sdkMeta: {
                                        type: "string",
                                        queryParam: !0,
                                        sendToChild: !1,
                                        value: Ar
                                    },
                                    content: {
                                        type: "object",
                                        required: !1
                                    },
                                    userType: {
                                        type: "string",
                                        required: !1
                                    },
                                    nonce: {
                                        type: "string",
                                        default:
                                        nr
                                    },
                                    integrationType: {
                                        type: "string",
                                        required: !1,
                                        queryParam: !0
                                    }
                                }
                            });
                            return n.isChild() && (window.xchild = {
                                props: n.xprops,
                                close: Wn
                            }),
                                n
                        }))
                    }
                    function jd(n) {
                        if (hr()) return n
                    }
                    var zd = {
                            __get__: function() {
                                return jd(Dl())
                            }
                        },
                        Kd = {
                            __get__: function() {
                                return jd(Wd())
                            }
                        },
                        Zd = {
                            __get__: function() {
                                return jd(o)
                            }
                        }; !
                        function(n) {
                            var e, t = Vt(),
                                r = window[t],
                                o = r && r.version;
                            if (r) if (o.startsWith("6.")) mr().info("setup_sdk_v6_integration_found", {
                                v5Version: "5.0.515",
                                v6Version: o
                            }),
                                delete window[t];
                            else {
                                if (!r.__internal_destroy__) throw new Error("Attempted to load sdk version 5.0.515 on page, but window." + t + " at version " + o + ' already loaded.\n\nTo load this sdk alongside the existing version, please specify a different namespace in the script tag, e.g. <script src="https://www.paypal.com/sdk/js?client-id=CLIENT_ID" data-namespace="paypal_sdk"><\/script>, then use the paypal_sdk namespace in place of paypal in your code.');
                                r.__internal_destroy__(new Error("New SDK instance loaded, existing instance destroyed (" + t + " / 5.0.515)")),
                                    delete window[t]
                            }
                            window[t] = window[t] || {},
                                window[t].version = "5.0.515",
                            "paypal" === t && null != (e = window.__paypal_sdk__) && e.v6 && (window.paypal.v6 = window.__paypal_sdk__.v6);
                            for (var i = [], a = function(e) {
                                    var r = n[e],
                                        o = r.name,
                                        a = r.requirer,
                                        u = r.setupHandler;
                                    try {
                                        var s = a(),
                                            c = s[u],
                                            d = s.setup,
                                            p = s.destroy,
                                            f = l(s, [u, "setup", "destroy"].map(yr));
                                        c ? c() : d && d(),
                                        p && i.push(p);
                                        for (var h = 0,
                                                 g = Object.keys(f); h < g.length; h++) {
                                            var m = g[h],
                                                y = f[m];
                                            y && y.__get__ && (y = y.__get__()),
                                            y && (window[t][m] = y)
                                        }
                                    } catch(n) {
                                        return setTimeout((function() {
                                            throw new Error("Bootstrap Error for " + o + ":\n\n" + n.message + "\n\n" + n.stack)
                                        }), 1),
                                            "continue"
                                    }
                                },
                                     u = 0; u < n.length; u++) a(u);
                            Object.defineProperty(window[t], "__internal_destroy__", {
                                enumerable: !1,
                                value: function(n) {
                                    void 0 === n && (n = new Error("SDK instance destroyed (" + t + " / 5.0.515)")),
                                        i.forEach((function(e) {
                                            return e(n)
                                        })),
                                        Ze(Pt()),
                                        delete window[t]
                                }
                            })
                        } ([{
                            name: "__paypal-sdk-client__",
                            setupHandler: "setupClient",
                            requirer: function() {
                                return r
                            }
                        },
                            {
                                name: "buttons",
                                setupHandler: "setupButtons",
                                requirer: function() {
                                    return i
                                }
                            },
                            {
                                name: "card-fields",
                                setupHandler: null,
                                requirer: function() {
                                    return a
                                }
                            },
                            {
                                name: "common",
                                setupHandler: null,
                                requirer: function() {
                                    return u
                                }
                            }])
                }]));
})({
    "__FIRST_RENDER_EXPERIMENTS__": {
        "venmoVaultWithoutPurchase": false,
        "spbEagerOrderCreation": false,
        "venmoWebEnabled": false,
        "isWebViewEnabled": false,
        "isPaypalRebrandEnabled": false,
        "isPaypalRebrandABTestEnabled": false,
        "defaultBlueButtonColor": "defaultBlue_darkBlue",
        "venmoEnableWebOnNonNativeBrowser": false,
        "paypalCreditButtonCreateVaultSetupTokenExists": false
    },
    "__FUNDING_ELIGIBILITY__": {
        "paypal": {
            "eligible": true,
            "vaultable": true
        },
        "paylater": {
            "eligible": true,
            "vaultable": false,
            "products": {
                "payIn3": {
                    "eligible": false,
                    "variant": null
                },
                "payIn4": {
                    "eligible": false,
                    "variant": null
                },
                "paylater": {
                    "eligible": true,
                    "variant": null
                }
            }
        },
        "card": {
            "eligible": true,
            "branded": false,
            "installments": false,
            "vendors": {
                "visa": {
                    "eligible": true,
                    "vaultable": true
                },
                "mastercard": {
                    "eligible": true,
                    "vaultable": true
                },
                "amex": {
                    "eligible": true,
                    "vaultable": true
                },
                "discover": {
                    "eligible": true,
                    "vaultable": true
                },
                "hiper": {
                    "eligible": false,
                    "vaultable": false
                },
                "elo": {
                    "eligible": false,
                    "vaultable": true
                },
                "jcb": {
                    "eligible": true,
                    "vaultable": true
                },
                "maestro": {
                    "eligible": true,
                    "vaultable": true
                },
                "diners": {
                    "eligible": true,
                    "vaultable": true
                },
                "cup": {
                    "eligible": true,
                    "vaultable": true
                },
                "cb_nationale": {
                    "eligible": false,
                    "vaultable": true
                }
            },
            "guestEnabled": false
        },
        "venmo": {
            "eligible": true,
            "vaultable": true
        },
        "itau": {
            "eligible": false
        },
        "credit": {
            "eligible": false
        },
        "applepay": {
            "eligible": true
        },
        "sepa": {
            "eligible": false
        },
        "ideal": {
            "eligible": false
        },
        "bancontact": {
            "eligible": false
        },
        "giropay": {
            "eligible": false
        },
        "eps": {
            "eligible": false
        },
        "sofort": {
            "eligible": false
        },
        "mybank": {
            "eligible": false
        },
        "p24": {
            "eligible": false
        },
        "wechatpay": {
            "eligible": false
        },
        "payu": {
            "eligible": false
        },
        "blik": {
            "eligible": false
        },
        "trustly": {
            "eligible": false
        },
        "oxxo": {
            "eligible": false
        },
        "boleto": {
            "eligible": false
        },
        "boletobancario": {
            "eligible": false
        },
        "mercadopago": {
            "eligible": false
        },
        "multibanco": {
            "eligible": false
        },
        "satispay": {
            "eligible": false
        },
        "paidy": {
            "eligible": false
        }
    }
});